Class NetworkPolicy
Represents a Network Policy resource.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class NetworkPolicy : IDirectResponseSchema
Properties
Associations
Output only. [Output Only] A list of associations that belong to this network policy.
Declaration
[JsonProperty("associations")]
public virtual IList<NetworkPolicyAssociation> Associations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<NetworkPolicyAssociation> |
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. Provide this property when you create the 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 |
Id
[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? |
Kind
Output only. [Output only] Type of the resource. Alwayscompute#networkPolicy for network policies
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Name of the resource.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Region
Output only. [Output Only] URL of the region where the regional network policy resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RuleTupleCount
Output only. [Output Only] Total count of all network policy rule tuples. A network policy can not exceed a set number of tuples.
Declaration
[JsonProperty("ruleTupleCount")]
public virtual int? RuleTupleCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
SelfLink
Output only. [Output Only] Server-defined URL for the 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 with the resource id.
Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TrafficClassificationRules
Output only. [Output Only] A list of traffic classification rules that belong to this policy.
Declaration
[JsonProperty("trafficClassificationRules")]
public virtual IList<NetworkPolicyTrafficClassificationRule> TrafficClassificationRules { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<NetworkPolicyTrafficClassificationRule> |