EdgeNetworkSubnet

Property Value
Google Cloud Service Name Edge Network
Google Cloud Service Documentation /distributed-cloud/edge/latest/docs/
Google Cloud REST Resource Name projects.locations.zones.subnets
Google Cloud REST Resource Documentation /distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.subnets
Config Connector Resource Short Names gcpedgenetworksubnet
gcpedgenetworksubnets
edgenetworksubnet
Config Connector Service Name edgenetwork.googleapis.com
Config Connector Resource Fully Qualified Name edgenetworksubnets.edgenetwork.cnrm.cloud.google.com
Can Be Referenced by IAMPolicy/IAMPolicyMember No
Config Connector Default Average Reconcile Interval In Seconds 600

Custom Resource Definition Properties

Spec

Schema

description: string ipv4Cidr: - string ipv6Cidr: - string location: string networkRef:  external: string  name: string  namespace: string projectRef:  external: string  name: string  namespace: string resourceID: string vlanId: integer zone: string 
Fields

description

Optional

string

Immutable. A free-text description of the resource. Max length 1024 characters.

ipv4Cidr

Optional

list (string)

Immutable. The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.

ipv4Cidr[]

Optional

string

ipv6Cidr

Optional

list (string)

Immutable. The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.

ipv6Cidr[]

Optional

string

location

Required

string

Immutable. The Google Cloud region to which the target Distributed Cloud Edge zone belongs.

networkRef

Required

object

networkRef.external

Optional

string

Allowed value: The `name` field of an `EdgeNetworkNetwork` resource.

networkRef.name

Optional

string

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

networkRef.namespace

Optional

string

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

projectRef

Required

object

The project that this resource belongs to.

projectRef.external

Optional

string

Allowed value: The `name` field of a `Project` resource.

projectRef.name

Optional

string

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

projectRef.namespace

Optional

string

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

resourceID

Optional

string

Immutable. Optional. The subnetId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default.

vlanId

Optional

integer

Immutable. VLAN ID for this subnetwork. If not specified, one is assigned automatically.

zone

Required

string

Immutable. The name of the target Distributed Cloud Edge zone.

Status

Schema

conditions: - lastTransitionTime: string  message: string  reason: string  status: string  type: string createTime: string name: string observedGeneration: integer state: string updateTime: string 
Fields
conditions

list (object)

Conditions represent the latest available observation of the resource's current state.

conditions[]

object

conditions[].lastTransitionTime

string

Last time the condition transitioned from one status to another.

conditions[].message

string

Human-readable message indicating details about last transition.

conditions[].reason

string

Unique, one-word, CamelCase reason for the condition's last transition.

conditions[].status

string

Status is the status of the condition. Can be True, False, Unknown.

conditions[].type

string

Type is the type of the condition.

createTime

string

The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'.

name

string

The canonical name of this resource, with format 'projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}'.

observedGeneration

integer

ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource.

state

string

Current stage of the resource to the device by config push.

updateTime

string

The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'.

Sample YAML(s)

Typical Use Case

# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. apiVersion: edgenetwork.cnrm.cloud.google.com/v1beta1 kind: EdgeNetworkSubnet metadata:  name: edgenetworksubnet-sample spec:  description: "A sample edgenetwork subnet"  location: us-central1  # Replace ${ZONE_LOCATION?} with the machine zone location  zone: ${ZONE_LOCATION}  networkRef:  name: edgenetworksubnet-dep  ipv4Cidr:  - 1.1.1.1/24  - 2.2.2.2/32 --- apiVersion: edgenetwork.cnrm.cloud.google.com/v1beta1 kind: EdgeNetworkNetwork metadata:  name: edgenetworksubnet-dep spec:  description: "A sample edgenetwork network"  location: us-central1  # Replace ${ZONE_LOCATION?} with the machine zone location  zone: ${ZONE_LOCATION}  mtu: 9000