From 350a8860e097410d9267b726badd713947b3d4f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Thu, 26 Sep 2024 14:37:14 +0300 Subject: [PATCH] Add updestable example for PrivateDNSZoneVirtualNetworkLink MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fatih Türken --- .../privatednszonevirtualnetworklink.yaml | 70 +++++++++++++++++-- 1 file changed, 63 insertions(+), 7 deletions(-) diff --git a/examples/network/v1beta1/privatednszonevirtualnetworklink.yaml b/examples/network/v1beta1/privatednszonevirtualnetworklink.yaml index 5af442718..6079f771c 100644 --- a/examples/network/v1beta1/privatednszonevirtualnetworklink.yaml +++ b/examples/network/v1beta1/privatednszonevirtualnetworklink.yaml @@ -5,12 +5,68 @@ apiVersion: network.azure.upbound.io/v1beta1 kind: PrivateDNSZoneVirtualNetworkLink metadata: - name: example + annotations: + meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink + labels: + testing.upbound.io/example-name: example + name: example-test-pdzvnl spec: forProvider: - privateDnsZoneNameRef: - name: example - resourceGroupNameRef: - name: example - virtualNetworkIdRef: - name: example + registrationEnabled: true + privateDnsZoneName: example.com + resourceGroupNameSelector: + matchLabels: + testing.upbound.io/example-name: example + virtualNetworkIdSelector: + matchLabels: + testing.upbound.io/example-name: example + +--- + +apiVersion: network.azure.upbound.io/v1beta2 +kind: PrivateDNSZone +metadata: + annotations: + meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink + crossplane.io/external-name: example.com + labels: + testing.upbound.io/example-name: example + name: example-test-pdzvnl +spec: + forProvider: + resourceGroupNameSelector: + matchLabels: + testing.upbound.io/example-name: example + +--- + +apiVersion: azure.upbound.io/v1beta1 +kind: ResourceGroup +metadata: + annotations: + meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink + labels: + testing.upbound.io/example-name: example + name: example-test-pdzvnl +spec: + forProvider: + location: West Europe + +--- + +apiVersion: network.azure.upbound.io/v1beta2 +kind: VirtualNetwork +metadata: + annotations: + meta.upbound.io/example-id: network/v1beta1/privatednszonevirtualnetworklink + labels: + testing.upbound.io/example-name: example + name: example-test-pdzvnl +spec: + forProvider: + addressSpace: + - 10.0.0.0/16 + location: West Europe + resourceGroupNameSelector: + matchLabels: + testing.upbound.io/example-name: example \ No newline at end of file