SecurityRule is the Schema for the SecurityRules API. Manages a Network Security Rule.
Type
CRD
Group
network.azure.upbound.io
Version
v1beta1
apiVersion: network.azure.upbound.io/v1beta1
kind: SecurityRule
SecurityRuleSpec defines the desired state of SecurityRule
No description provided.
List of destination address prefixes. Tags may not be used. This is required if destination_address_prefix is not specified.
A List of destination Application Security Group IDs
List of destination ports or port ranges. This is required if destination_port_range is not specified.
Reference to a SecurityGroup to populate networkSecurityGroupName.
Policies for referencing.
Selector for a SecurityGroup to populate networkSecurityGroupName.
Policies for selection.
Reference to a ResourceGroup in azure to populate resourceGroupName.
Policies for referencing.
Selector for a ResourceGroup in azure to populate resourceGroupName.
Policies for selection.
List of source address prefixes. Tags may not be used. This is required if source_address_prefix is not specified.
A List of source Application Security Group IDs
List of source ports or port ranges. This is required if source_port_range is not specified.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
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.
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.
SecurityRuleStatus defines the observed state of SecurityRule.
No description provided.
List of destination address prefixes. Tags may not be used. This is required if destination_address_prefix is not specified.
A List of destination Application Security Group IDs
List of destination ports or port ranges. This is required if destination_port_range is not specified.
List of source address prefixes. Tags may not be used. This is required if source_address_prefix is not specified.
A List of source Application Security Group IDs
List of source ports or port ranges. This is required if source_port_range is not specified.
Conditions of the resource.
example
apiVersion: network.azure.upbound.io/v1beta1
kind: SecurityRule
metadata:
name: example
spec:
forProvider:
access: Allow
destinationAddressPrefix: "*"
destinationPortRange: "*"
direction: Outbound
networkSecurityGroupNameRef:
name: example
priority: 100
protocol: Tcp
resourceGroupNameRef:
name: example
sourceAddressPrefix: "*"
sourcePortRange: "*"
example
apiVersion: network.azure.upbound.io/v1beta1
kind: SecurityRule
metadata:
name: example
spec:
forProvider:
access: Allow
destinationAddressPrefix: "*"
destinationPortRange: "*"
direction: Outbound
networkSecurityGroupNameRef:
name: example
priority: 100
protocol: Tcp
resourceGroupNameRef:
name: networkinterfacetestrg
sourceAddressPrefix: "*"
sourcePortRange: "*"
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.