Show / Hide Table of Contents

Class VmExtensionPolicy

Represents a VM extension policy.

Inheritance
object
VmExtensionPolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class VmExtensionPolicy : IDirectResponseSchema

Properties

CreationTimestamp

Output only. [Output Only] Creation timestamp inRFC3339 text format.

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type Description
string

Description

An optional description of this resource.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExtensionPolicies

Required. A map of extension names (e.g., "cloudops") to their corresponding policy configurations.

Declaration
[JsonProperty("extensionPolicies")]
public virtual IDictionary<string, VmExtensionPolicyExtensionPolicy> ExtensionPolicies { get; set; }
Property Value
Type Description
IDictionary<string, VmExtensionPolicyExtensionPolicy>

GlobalResourceLink

Optional. Output only. [Output Only] Link to the global policy that manages this zone policy, if applicable.

Declaration
[JsonProperty("globalResourceLink")]
public virtual string GlobalResourceLink { get; set; }
Property Value
Type Description
string

Id

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type Description
ulong?

InstanceSelectors

Optional. Selectors to target VMs for this policy. VMs are selected if they match any of the provided selectors (logical OR). If this list is empty, the policy applies to all VMs.

Declaration
[JsonProperty("instanceSelectors")]
public virtual IList<VmExtensionPolicyInstanceSelector> InstanceSelectors { get; set; }
Property Value
Type Description
IList<VmExtensionPolicyInstanceSelector>

Kind

Output only. [Output Only] Type of the resource. Alwayscompute#vmExtensionPolicy.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

ManagedByGlobal

Optional. Output only. [Output Only] Indicates if this policy is managed by a global policy.

Declaration
[JsonProperty("managedByGlobal")]
public virtual bool? ManagedByGlobal { get; set; }
Property Value
Type Description
bool?

Name

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Priority

Optional. Priority of this policy. Used to resolve conflicts when multiple policies apply to the same extension. The policy priority is an integer from 0 to 65535, inclusive. Lower integers indicate higher priorities. If you do not specify a priority when creating a rule, it is assigned a priority of 1000. If priorities are equal, the policy with the more recent creation timestamp takes precedence.

Declaration
[JsonProperty("priority")]
public virtual int? Priority { get; set; }
Property Value
Type Description
int?

SelfLink

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

SelfLinkWithId

Output only. [Output Only] Server-defined URL for this resource's resource id.

Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
Type Description
string

State

Optional. Output only. [Output Only] Current state of the policy: ACTIVE or DELETING.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

UpdateTimestamp

Output only. [Output Only] Update timestamp inRFC3339 text format.

Declaration
[JsonProperty("updateTimestamp")]
public virtual string UpdateTimestamp { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX