- JSON representation
- ExtensionPolicy
- InstanceSelector
- LabelSelector
- ScopedResourceStatus
- RolloutOperation
- RolloutStatus
- RolloutMetadata
- State
- LocationRolloutStatus
- LocationRolloutState
Message describing GlobalVmExtensionPolicy object.
| JSON representation |
|---|
{ "kind": string, "id": string, "creationTimestamp": string, "updateTimestamp": string, "name": string, "description": string, "selfLink": string, "selfLinkWithId": string, "extensionPolicies": { string: { object ( |
| Fields | |
|---|---|
kind |
Output only. Type of the resource. Always
for globalVmExtensionPolicies. |
id |
Output only. The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
Output only. Creation timestamp in RFC3339 text format. |
updateTimestamp |
Output only. Update timestamp in RFC3339 text format. |
name |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
description |
An optional description of this resource. Provide this property when you create the resource. |
selfLink |
Output only. Server-defined fully-qualified URL for this resource. |
selfLinkWithId |
Output only. Server-defined URL for this resource's resource id. |
extensionPolicies |
Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension. |
instanceSelectors[] |
Optional. Selector to target VMs for a policy. There is a logical "AND" between instanceSelectors. |
priority |
Optional. Used to resolve conflicts when multiple policies are active for the same extension. Defaults to 0. Larger the number, higher the priority. When the priority is the same, the policy with the newer create time has higher priority. |
scopedResourceStatus |
Output only. The scoped resource status. It's only for tracking the purging status of the policy. |
rolloutOperation |
Required. The rollout strategy and status. |
ExtensionPolicy
Policy for a single extension.
| JSON representation |
|---|
{ "pinnedVersion": string, // Union field |
| Fields | |
|---|---|
pinnedVersion |
Optional. The version pinning for the extension. If empty, the extension will be installed with the latest version released by the extension producer. |
Union field config. This is any additional payload handed off to the extension on every start request. Payload is optional and defined by the service and extension itself. config can be only one of the following: |
|
stringConfig |
Optional. String configuration. Any string payload that the extension understands. |
InstanceSelector
Selector to target VMs for a zone VM extension policy.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field selector_type. Initially only LabelSelector is available. selector_type can be only one of the following: |
|
labelSelector |
Optional. Labels within the LabelSelector are OR'd. |
LabelSelector
A LabelSelector is applicable for a VM only if it matches all labels in the LabelSelector.
| JSON representation |
|---|
{ "inclusionLabels": { string: string, ... } } |
| Fields | |
|---|---|
inclusionLabels |
Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed. |
ScopedResourceStatus
| Enums | |
|---|---|
SCOPED_RESOURCE_STATUS_UNSPECIFIED |
Default value. This value is unused. |
SCOPED_RESOURCE_STATUS_DELETING |
The zonal policies are being deleted. |
RolloutOperation
Represents the rollout operation
| JSON representation |
|---|
{ "rolloutInput": { object ( |
| Fields | |
|---|---|
rolloutInput |
Required. The rollout input which defines the rollout plan. |
rolloutStatus |
Output only. The rollout status of the policy. |
RolloutStatus
| JSON representation |
|---|
{ "currentRollouts": [ { object ( |
| Fields | |
|---|---|
currentRollouts[] |
Output only. The current rollouts for the latest version of the resource. There should be only one current rollout, but for scalability, we make it repeated. |
previousRollout |
Output only. The last completed rollout resource. This field will not be populated until the first rollout is completed. |
RolloutMetadata
| JSON representation |
|---|
{ "rollout": string, "rolloutPlan": string, "state": enum ( |
| Fields | |
|---|---|
rollout |
Output only. The name of the rollout. Ex. projects/ |
rolloutPlan |
Output only. The name of the rollout plan. Ex. projects/ |
state |
Output only. The overall state of the rollout. |
locationRolloutStatus |
Output only. The rollout status for each location. The list of the locations is the same as the list of locations in the rollout plan. |
State
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
STATE_PROCESSING |
Iteration is in progress. |
STATE_COMPLETED |
Iteration completed, with all actions being successful. |
STATE_FAILED |
Iteration completed, with failures. |
STATE_CANCELLED |
Iteration was explicitly cancelled. |
STATE_PAUSED |
The rollout is paused. |
STATE_UNKNOWN |
Impossible to determine current state of the iteration. |
LocationRolloutStatus
| JSON representation |
|---|
{
"state": enum ( |
| Fields | |
|---|---|
state |
Output only. The state of the location rollout. |
LocationRolloutState
| Enums | |
|---|---|
LOCATION_ROLLOUT_STATE_UNSPECIFIED |
Default value. This value is unused. |
LOCATION_ROLLOUT_STATE_NOT_STARTED |
The location rollout has not started. |
LOCATION_ROLLOUT_STATE_COMPLETED |
The location rollout is completed. |
LOCATION_ROLLOUT_STATE_FAILED |
The location rollout has failed. |
LOCATION_ROLLOUT_STATE_SKIPPED |
The location rollout is skipped. |