A Subnet is a managed resource that represents an Azure Subnet.
Type
CRD
Group
network.azure.crossplane.io
Version
v1alpha3
apiVersion: network.azure.crossplane.io/v1alpha3
kind: Subnet
A SubnetSpec defines the desired state of a Subnet.
SubnetPropertiesFormat - Properties of the subnet.
ServiceEndpoints - An array of service endpoints.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
ResourceGroupNameRef - A reference to the the Subnets's resource group.
ResourceGroupNameSelector - Selects a reference to the the Subnets's resource group.
VirtualNetworkNameRef references to a VirtualNetwork to retrieve its name
VirtualNetworkNameSelector selects a reference to a VirtualNetwork to retrieve its name
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
example-sub
apiVersion: network.azure.crossplane.io/v1alpha3
kind: Subnet
metadata:
name: example-sub
spec:
properties:
addressPrefix: 10.2.0.0/24
serviceEndpoints:
- service: Microsoft.Sql
providerConfigRef:
name: example
resourceGroupNameRef:
name: example-rg
virtualNetworkNameRef:
name: example-vn
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.