This resource is namespace scoped, refer to [Namespace](./namespace.md) for details.

Note: Network deletion progress will wait all the dependents being deleted first before proceeding to the actual delete actions. That is, the Network deletion will be pended if there are any dependents running in the Network.

Example:

```bash
# delete the Network and all resources in the Network
> kubectl delete network aws-us-west-2
# the order does not matter, Network controller will wait for the cluster to be deleted before deleting the underlying Network resources
> kubectl delete cluster 123
```

Bad example:

```bash
# only delete the Network, the deletion will be pended forever since there are other resources running in this Network
> kubectl delete network aws-us-west-2
```

You may use `OwnerReference` to instruct Infra API to delete the dependents automatically when deleting a Network, but it is not recommended
to set OwnerReference between Network and Cluster since the cluster deletion should be controlled with care.

### Custom Resources

* [Network](#network)

### Sub Resources

* [AccountReference](#accountreference)
* [CoreDNSStatus](#corednsstatus)
* [FromProvider](#fromprovider)
* [IAMStatus](#iamstatus)
* [NetworkImportStatus](#networkimportstatus)
* [NetworkList](#networklist)
* [NetworkSpec](#networkspec)
* [NetworkStatus](#networkstatus)
* [PeeringStatus](#peeringstatus)

#### AccountReference

AccountReference is a reference to an Account CR. It can be extended to use other types of references, like label selector.

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| name |  | string | false |

[Back to Custom Resources](#custom-resources)

#### CoreDNSStatus



| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| ingressIps |  | string | false |
| loadbalanceDns |  | string | false |

[Back to Custom Resources](#custom-resources)

#### FromProvider



| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| shootName | gardener migrate controller should set this. | string | false |
| account | For aws provider, account is the id of account For gcp provider, account is the name of project | string | false |

[Back to Custom Resources](#custom-resources)

#### IAMStatus



| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| serviceAccountEmail |  | string | false |
| accountID |  | string | false |
| externalId |  | string | false |

[Back to Custom Resources](#custom-resources)

#### Network

Network is the Schema for the networks API

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| metadata |  | metav1.ObjectMeta | false |
| spec |  | [NetworkSpec](#networkspec) | false |
| status |  | [NetworkStatus](#networkstatus) | false |

[Back to Custom Resources](#custom-resources)

#### NetworkImportStatus



| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| roleARN |  | string | false |

[Back to Custom Resources](#custom-resources)

#### NetworkList

NetworkList contains a list of Network

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| metadata |  | metav1.ListMeta | false |
| items |  | [][Network](#network) | true |

[Back to Custom Resources](#custom-resources)

#### NetworkSpec

NetworkSpec defines the desired state of Network

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| provider |  | string | false |
| region |  | string | false |
| cidr |  | string | false |
| accountRef |  | *[AccountReference](#accountreference) | false |
| forProvider | ForProvider encodes the provider specific spec | *runtime.RawExtension | false |

[Back to Custom Resources](#custom-resources)

#### NetworkStatus

NetworkStatus defines the observed state of Network

| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| phase |  | string | false |
| peering |  | [PeeringStatus](#peeringstatus) | false |
| import |  | [NetworkImportStatus](#networkimportstatus) | false |
| iam |  | [IAMStatus](#iamstatus) | false |
| coredns |  | [CoreDNSStatus](#corednsstatus) | false |
| fromProvider | FromProvider encodes the provider specific status | runtime.RawExtension | false |

[Back to Custom Resources](#custom-resources)

#### PeeringStatus



| Field | Description | Scheme | Required |
| ----- | ----------- | ------ | -------- |
| allowed |  | bool | false |

[Back to Custom Resources](#custom-resources)
