A MySQLServerVirtualNetworkRule is a managed resource that represents an Azure MySQL Database virtual network rule.
Type
CRD
Group
database.azure.crossplane.io
Version
v1alpha3
apiVersion: database.azure.crossplane.io/v1alpha3
kind: MySQLServerVirtualNetworkRule
A MySQLVirtualNetworkRuleSpec defines the desired state of a MySQLVirtualNetworkRule.
VirtualNetworkRuleProperties - Resource properties.
VirtualNetworkSubnetIDRef - A reference to a Subnet to retrieve its ID
VirtualNetworkSubnetIDRef - A selector for a Subnet to retrieve its ID
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 a ResourceGroup object to retrieve its name
ResourceGroupNameSelector - Selects a ResourceGroup to reference.
ServerNameRef - A reference to the Virtual Network Rule's MySQLServer.
ServerNameSelector - Selects a MySQLServer to reference.
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-mysql-vnrule
apiVersion: database.azure.crossplane.io/v1alpha3
kind: MySQLServerVirtualNetworkRule
metadata:
name: example-mysql-vnrule
spec:
properties:
virtualNetworkSubnetIdRef:
name: example-sub
providerConfigRef:
name: example
resourceGroupNameRef:
name: example-rg
serverNameRef:
name: example-mysql
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.