---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.9.0
  creationTimestamp: null
  name: azurefirewallrules.egress.azure-firewall-egress-controller.io
spec:
  group: egress.azure-firewall-egress-controller.io
  names:
    kind: AzureFirewallRules
    listKind: AzureFirewallRulesList
    plural: azurefirewallrules
    singular: azurefirewallrules
  scope: Cluster
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: AzureFirewallRules is the Schema for the azureFirewallRules API
        properties:
          apiVersion:
            description: 'APIVersion defines the versioned schema of this representation
              of an object. Servers should convert recognized schemas to the latest
              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
            type: string
          kind:
            description: 'Kind is a string value representing the REST resource this
              object represents. Servers may infer this from the endpoint the client
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
            type: string
          metadata:
            type: object
          spec:
            description: AzureFirewallRulesSpec defines the desired state of azureFirewallRules
            properties:
              egressRules:
                items:
                  properties:
                    name:
                      type: string
                    nodeSelector:
                      items:
                        additionalProperties:
                          type: string
                        type: object
                      type: array
                    rules:
                      items:
                        properties:
                          action:
                            description: FirewallPolicyFilterRuleCollectionActionType
                              enumerates the values for firewall policy filter rule
                              collection action type.
                            type: string
                          destinationAddresses:
                            items:
                              type: string
                            type: array
                          destinationFqdns:
                            items:
                              type: string
                            type: array
                          destinationPorts:
                            items:
                              type: string
                            type: array
                          priority:
                            format: int32
                            type: integer
                          protocol:
                            items:
                              type: string
                            type: array
                          ruleCollectionName:
                            type: string
                          ruleName:
                            type: string
                          ruleType:
                            type: string
                          targetFqdns:
                            items:
                              type: string
                            type: array
                          targetUrls:
                            items:
                              type: string
                            type: array
                        required:
                        - action
                        - priority
                        - protocol
                        - ruleCollectionName
                        - ruleName
                        - ruleType
                        type: object
                      type: array
                  required:
                  - name
                  - nodeSelector
                  - rules
                  type: object
                type: array
            type: object
          status:
            description: AzureFirewallRulesStatus defines the observed state of azureFirewallRules
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
