From 378008fe39fa747e63bc7def648204214dab0c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Sat, 4 Nov 2023 15:47:02 +0100 Subject: [PATCH 1/2] add Azure/azure-service-operator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- .reuse/dep5 | 4 + code-generator/src/catalog.rs | 48 +++++ .../v1alpha1/apimgmtapis.yaml | 168 ++++++++++++++++ .../v1alpha1/apimservices.yaml | 119 +++++++++++ .../v1alpha1/appinsights.yaml | 107 ++++++++++ .../v1alpha1/appinsightsapikeys.yaml | 101 ++++++++++ .../v1alpha1/azureloadbalancers.yaml | 118 +++++++++++ .../v1alpha1/azurenetworkinterfaces.yaml | 109 ++++++++++ .../v1alpha1/azurepublicipaddresses.yaml | 115 +++++++++++ .../v1alpha1/azuresqlactions.yaml | 115 +++++++++++ .../v1alpha1/azuresqldatabases.yaml | 121 ++++++++++++ .../v1alpha1/azuresqlfailovergroups.yaml | 135 +++++++++++++ .../v1alpha1/azuresqlfirewallrules.yaml | 115 +++++++++++ .../v1alpha1/azuresqlmanagedusers.yaml | 120 +++++++++++ .../v1alpha1/azuresqlservers.yaml | 113 +++++++++++ .../v1alpha1/azuresqlusers.yaml | 126 ++++++++++++ .../v1alpha1/azuresqlvnetrules.yaml | 116 +++++++++++ .../azurevirtualmachineextensions.yaml | 122 ++++++++++++ .../v1alpha1/azurevirtualmachines.yaml | 117 +++++++++++ .../v1alpha1/azurevmscalesets.yaml | 132 +++++++++++++ .../v1alpha1/blobcontainers.yaml | 116 +++++++++++ .../v1alpha1/consumergroups.yaml | 103 ++++++++++ .../v1alpha1/cosmosdbs.yaml | 170 ++++++++++++++++ .../v1alpha1/eventhubnamespaces.yaml | 150 ++++++++++++++ .../v1alpha1/eventhubs.yaml | 187 ++++++++++++++++++ .../v1alpha1/keyvaultkeys.yaml | 116 +++++++++++ .../v1alpha1/keyvaults.yaml | 164 +++++++++++++++ .../v1alpha1/mysqlaadusers.yaml | 127 ++++++++++++ .../v1alpha1/mysqldatabases.yaml | 98 +++++++++ .../v1alpha1/mysqlfirewallrules.yaml | 105 ++++++++++ .../v1alpha1/mysqlserveradministrators.yaml | 116 +++++++++++ .../v1alpha1/mysqlservers.yaml | 143 ++++++++++++++ .../v1alpha1/mysqlusers.yaml | 126 ++++++++++++ .../v1alpha1/mysqlvnetrules.yaml | 113 +++++++++++ .../v1alpha1/postgresqldatabases.yaml | 100 ++++++++++ .../v1alpha1/postgresqlfirewallrules.yaml | 106 ++++++++++ .../v1alpha1/postgresqlservers.yaml | 143 ++++++++++++++ .../v1alpha1/postgresqlusers.yaml | 117 +++++++++++ .../v1alpha1/postgresqlvnetrules.yaml | 113 +++++++++++ .../v1alpha1/rediscacheactions.yaml | 116 +++++++++++ .../v1alpha1/rediscachefirewallrules.yaml | 111 +++++++++++ .../v1alpha1/resourcegroups.yaml | 95 +++++++++ .../v1alpha1/storageaccounts.yaml | 183 +++++++++++++++++ .../v1alpha1/virtualnetworks.yaml | 121 ++++++++++++ .../v1alpha2/blobcontainers.yaml | 116 +++++++++++ .../v1alpha2/mysqlaadusers.yaml | 128 ++++++++++++ .../v1alpha2/mysqlservers.yaml | 174 ++++++++++++++++ .../v1alpha2/mysqlusers.yaml | 130 ++++++++++++ .../v1alpha2/postgresqlservers.yaml | 170 ++++++++++++++++ .../v1beta1/azuresqldatabases.yaml | 170 ++++++++++++++++ .../v1beta1/azuresqlfailovergroups.yaml | 145 ++++++++++++++ .../v1beta1/azuresqlfirewallrules.yaml | 118 +++++++++++ .../v1beta1/azuresqlservers.yaml | 116 +++++++++++ kube-custom-resources-rs/Cargo.toml | 3 + .../apimgmtapis.rs | 130 ++++++++++++ .../apimservices.rs | 78 ++++++++ .../appinsights.rs | 64 ++++++ .../appinsightsapikeys.rs | 66 +++++++ .../azureloadbalancers.rs | 72 +++++++ .../azurenetworkinterfaces.rs | 66 +++++++ .../azurepublicipaddresses.rs | 70 +++++++ .../azuresqlactions.rs | 75 +++++++ .../azuresqldatabases.rs | 65 ++++++ .../azuresqlfailovergroups.rs | 68 +++++++ .../azuresqlfirewallrules.rs | 63 ++++++ .../azuresqlmanagedusers.rs | 72 +++++++ .../azuresqlservers.rs | 61 ++++++ .../azuresqlusers.rs | 77 ++++++++ .../azuresqlvnetrules.rs | 72 +++++++ .../azurevirtualmachineextensions.rs | 75 +++++++ .../azurevirtualmachines.rs | 72 +++++++ .../azurevmscalesets.rs | 81 ++++++++ .../blobcontainers.rs | 64 ++++++ .../consumergroups.rs | 65 ++++++ .../azure_microsoft_com_v1alpha1/cosmosdbs.rs | 146 ++++++++++++++ .../eventhubnamespaces.rs | 122 ++++++++++++ .../azure_microsoft_com_v1alpha1/eventhubs.rs | 151 ++++++++++++++ .../keyvaultkeys.rs | 72 +++++++ .../azure_microsoft_com_v1alpha1/keyvaults.rs | 124 ++++++++++++ .../src/azure_microsoft_com_v1alpha1/mod.rs | 42 ++++ .../mysqlaadusers.rs | 69 +++++++ .../mysqldatabases.rs | 60 ++++++ .../mysqlfirewallrules.rs | 63 ++++++ .../mysqlserveradministrators.rs | 73 +++++++ .../mysqlservers.rs | 97 +++++++++ .../mysqlusers.rs | 72 +++++++ .../mysqlvnetrules.rs | 70 +++++++ .../postgresqldatabases.rs | 60 ++++++ .../postgresqlfirewallrules.rs | 64 ++++++ .../postgresqlservers.rs | 97 +++++++++ .../postgresqlusers.rs | 72 +++++++ .../postgresqlvnetrules.rs | 70 +++++++ .../rediscacheactions.rs | 85 ++++++++ .../rediscachefirewallrules.rs | 71 +++++++ .../resourcegroups.rs | 58 ++++++ .../storageaccounts.rs | 173 ++++++++++++++++ .../virtualnetworks.rs | 76 +++++++ .../blobcontainers.rs | 65 ++++++ .../src/azure_microsoft_com_v1alpha2/mod.rs | 5 + .../mysqlaadusers.rs | 70 +++++++ .../mysqlservers.rs | 138 +++++++++++++ .../mysqlusers.rs | 75 +++++++ .../postgresqlservers.rs | 135 +++++++++++++ .../azuresqldatabases.rs | 107 ++++++++++ .../azuresqlfailovergroups.rs | 86 ++++++++ .../azuresqlfirewallrules.rs | 66 +++++++ .../azuresqlservers.rs | 64 ++++++ .../src/azure_microsoft_com_v1beta1/mod.rs | 4 + kube-custom-resources-rs/src/lib.rs | 6 + 109 files changed, 10794 insertions(+) create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml create mode 100644 crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimgmtapis.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimservices.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsights.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsightsapikeys.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azureloadbalancers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurenetworkinterfaces.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurepublicipaddresses.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlactions.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqldatabases.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfailovergroups.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfirewallrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlmanagedusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlservers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlvnetrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachineextensions.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachines.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevmscalesets.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/blobcontainers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/consumergroups.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/cosmosdbs.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubnamespaces.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubs.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaultkeys.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaults.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mod.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlaadusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqldatabases.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlfirewallrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlserveradministrators.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlservers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlvnetrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqldatabases.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlfirewallrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlservers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlvnetrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscacheactions.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscachefirewallrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/resourcegroups.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/storageaccounts.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/virtualnetworks.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/blobcontainers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mod.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlaadusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlservers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlusers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/postgresqlservers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqldatabases.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfailovergroups.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfirewallrules.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlservers.rs create mode 100644 kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/mod.rs diff --git a/.reuse/dep5 b/.reuse/dep5 index 57e33b5af..b69c2e4c8 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -127,6 +127,10 @@ Files: crd-catalog/aws-controllers-k8s/sfn-controller/* Copyright: The aws-controllers-k8s/sfn-controller Authors License: Apache-2.0 +Files: crd-catalog/Azure/azure-service-operator/* +Copyright: The Azure/azure-service-operator Authors +License: Apache-2.0 + Files: crd-catalog/b3scale/b3scale-operator/* Copyright: The b3scale/b3scale-operator Authors License: Apache-2.0 diff --git a/code-generator/src/catalog.rs b/code-generator/src/catalog.rs index ca8ebd698..b488fe85d 100644 --- a/code-generator/src/catalog.rs +++ b/code-generator/src/catalog.rs @@ -310,6 +310,54 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[ "https://github.com/aws-controllers-k8s/sfn-controller/blob/main/config/crd/bases/sfn.services.k8s.aws_statemachines.yaml", ], }, + UpstreamSource { + project_name: "Azure/azure-service-operator", + license: APACHE_V2, + urls: &[ + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_apimgmtapis.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_apimservices.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_appinsights.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_appinsightsapikeys.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azureloadbalancers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azurenetworkinterfaces.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azurepublicipaddresses.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlactions.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqldatabases.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlfailovergroups.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlfirewallrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlmanagedusers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlservers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlusers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azuresqlvnetrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azurevirtualmachineextensions.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azurevirtualmachines.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_azurevmscalesets.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_blobcontainers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_consumergroups.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_cosmosdbs.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_eventhubnamespaces.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_eventhubs.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_keyvaultkeys.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_keyvaults.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqlaadusers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqldatabases.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqlfirewallrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqlserveradministrators.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqlservers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqlusers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_mysqlvnetrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_postgresqldatabases.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_postgresqlfirewallrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_postgresqlservers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_postgresqlusers.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_postgresqlvnetrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_rediscacheactions.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_rediscachefirewallrules.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_resourcegroups.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_storageaccounts.azure.microsoft.com.yaml", + "https://github.com/Azure/azure-service-operator/blob/main/charts/azure-service-operator/crds/apiextensions.k8s.io_v1_customresourcedefinition_virtualnetworks.azure.microsoft.com.yaml", + ], + }, UpstreamSource { project_name: "b3scale/b3scale-operator", license: APACHE_V2, diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml new file mode 100644 index 000000000..4c482cf49 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: apimgmtapis.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: APIMgmtAPI + listKind: APIMgmtAPIList + plural: apimgmtapis + shortNames: + - apim + singular: apimgmtapi + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + 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: APIMgmtSpec defines the desired state of APIMgmt + properties: + apiId: + type: string + apiService: + type: string + location: + type: string + properties: + properties: + apiRevision: + description: APIRevision - Describes the Revision of the Api. If no value is provided, default revision 1 is created + type: string + apiRevisionDescription: + description: APIRevisionDescription - Description of the Api Revision. + type: string + apiVersion: + description: APIVersion - Indicates the Version identifier of the API if the API is versioned + type: string + apiVersionDescription: + description: APIVersionDescription - Description of the Api Version. + type: string + apiVersionSetId: + description: APIVersionSetID - A resource identifier for the related ApiVersionSet. + type: string + apiVersionSets: + description: APIVersionSet - APIVersionSetContractDetails an API Version Set contains the common configuration for a set of API versions. + properties: + description: + description: Description - Description of API Version Set. + type: string + id: + description: ID - Identifier for existing API Version Set. Omit this value to create a new Version Set. + type: string + name: + description: Name - The display Name of the API Version Set. + type: string + type: object + description: + description: Description - Description of the API. May include HTML formatting tags. + type: string + displayName: + description: DisplayName - API name. Must be 1 to 300 characters long. + type: string + format: + description: 'Format - Format of the Content in which the API is getting imported. Possible values include: ''WadlXML'', ''WadlLinkJSON'', ''SwaggerJSON'', ''SwaggerLinkJSON'', ''Wsdl'', ''WsdlLink'', ''Openapi'', ''Openapijson'', ''OpenapiLink''' + type: string + isCurrent: + description: IsCurrent - Indicates if API revision is current api revision. + type: boolean + isOnline: + description: IsOnline - READ-ONLY; Indicates if API revision is accessible via the gateway. + type: boolean + path: + description: Path - Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API. + type: string + protocols: + description: Protocols - Describes on which protocols the operations in this API can be invoked. + items: + type: string + type: array + serviceUrl: + description: ServiceURL - Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long. + type: string + sourceApiId: + description: SourceAPIID - API identifier of the source API. + type: string + subscriptionRequired: + description: SubscriptionRequired - Specifies whether an API or Product subscription is required for accessing the API. + type: boolean + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - apiId + - apiService + - location + - properties + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml new file mode 100644 index 000000000..ba325d581 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml @@ -0,0 +1,119 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: apimservices.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: ApimService + listKind: ApimServiceList + plural: apimservices + shortNames: + - apims + singular: apimservice + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: ApimService is the Schema for the apimservices 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: ApimServiceSpec defines the desired state of ApimService + properties: + appInsightsName: + type: string + appInsightsResourceGroup: + type: string + location: + type: string + publisherEmail: + type: string + publisherName: + type: string + resourceGroup: + type: string + tier: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + vnetName: + type: string + vnetResourceGroup: + type: string + vnetSubnetName: + type: string + vnetType: + type: string + required: + - location + - publisherEmail + - publisherName + - resourceGroup + - vnetResourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml new file mode 100644 index 000000000..47263e20e --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml @@ -0,0 +1,107 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: appinsights.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AppInsights + listKind: AppInsightsList + plural: appinsights + shortNames: + - ai + singular: appinsights + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppInsights is the Schema for the appinsights 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: AppInsightsSpec defines the desired state of AppInsights + properties: + applicationType: + type: string + keyVaultToStoreSecrets: + type: string + kind: + type: string + location: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - applicationType + - kind + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml new file mode 100644 index 000000000..18fb3174a --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml @@ -0,0 +1,101 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: appinsightsapikeys.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AppInsightsApiKey + listKind: AppInsightsApiKeyList + plural: appinsightsapikeys + singular: appinsightsapikey + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppInsightsApiKey is the Schema for the appinsightsapikeys 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: AppInsightsApiKeySpec defines the desired state of AppInsightsApiKey + properties: + appInsights: + type: string + authSDKControlChannel: + type: boolean + readTelemetry: + type: boolean + resourceGroup: + type: string + writeAnnotations: + type: boolean + required: + - appInsights + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml new file mode 100644 index 000000000..f78c049b5 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml @@ -0,0 +1,118 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azureloadbalancers.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureLoadBalancer + listKind: AzureLoadBalancerList + plural: azureloadbalancers + shortNames: + - alb + singular: azureloadbalancer + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureLoadBalancer is the Schema for the azureloadbalancers 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: AzureLoadBalancerSpec defines the desired state of AzureLoadBalancer + properties: + backendAddressPoolName: + type: string + backendPort: + type: integer + frontendPortRangeEnd: + type: integer + frontendPortRangeStart: + type: integer + inboundNatPoolName: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + publicIPAddressName: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - backendAddressPoolName + - backendPort + - frontendPortRangeEnd + - frontendPortRangeStart + - inboundNatPoolName + - location + - publicIPAddressName + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml new file mode 100644 index 000000000..d3ef6fd1d --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml @@ -0,0 +1,109 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azurenetworkinterfaces.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureNetworkInterface + listKind: AzureNetworkInterfaceList + plural: azurenetworkinterfaces + shortNames: + - ani + singular: azurenetworkinterface + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureNetworkInterface is the Schema for the azurenetworkinterfaces 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: AzureNetworkInterfaceSpec defines the desired state of AzureNetworkInterface + properties: + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + publicIPAddressName: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + subnetName: + type: string + vnetName: + type: string + required: + - location + - publicIPAddressName + - resourceGroup + - subnetName + - vnetName + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml new file mode 100644 index 000000000..db5c689ee --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml @@ -0,0 +1,115 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azurepublicipaddresses.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzurePublicIPAddress + listKind: AzurePublicIPAddressList + plural: azurepublicipaddresses + shortNames: + - apipa + singular: azurepublicipaddress + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzurePublicIPAddress is the Schema for the azurepublicipaddresses 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: AzurePublicIPAddressSpec defines the desired state of AzurePublicIPAddress + properties: + idleTimeoutInMinutes: + type: integer + ipTags: + additionalProperties: + type: string + type: object + location: + type: string + publicIPAddressVersion: + type: string + publicIPAllocationMethod: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + skuName: + type: string + required: + - idleTimeoutInMinutes + - location + - publicIPAddressVersion + - publicIPAllocationMethod + - resourceGroup + - skuName + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml new file mode 100644 index 000000000..5f171352a --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml @@ -0,0 +1,115 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlactions.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureSqlAction + listKind: AzureSqlActionList + plural: azuresqlactions + shortNames: + - asqla + singular: azuresqlaction + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSqlAction is the Schema for the azuresqlactions 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: AzureSqlActionSpec defines the desired state of AzureSqlAction + properties: + actionName: + type: string + dbName: + type: string + dbUser: + type: string + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + serverAdminSecretName: + type: string + serverName: + type: string + serverSecretKeyVault: + type: string + subscriptionId: + type: string + userSecretKeyVault: + type: string + required: + - actionName + - resourceGroup + - serverName + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml new file mode 100644 index 000000000..413f02f8d --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml @@ -0,0 +1,121 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqldatabases.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlDatabase + listKind: AzureSqlDatabaseList + plural: azuresqldatabases + shortNames: + - asqldb + singular: azuresqldatabase + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSqlDatabase is the Schema for the azuresqldatabases 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: AzureSqlDatabaseSpec defines the desired state of AzureSqlDatabase + properties: + dbName: + description: optional + type: string + edition: + description: 'DBEdition - wraps: https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#DatabaseEdition' + type: integer + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + resourcegroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + required: + - edition + - location + - resourcegroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml new file mode 100644 index 000000000..4111df9b1 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml @@ -0,0 +1,135 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlfailovergroups.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlFailoverGroup + listKind: AzureSqlFailoverGroupList + plural: azuresqlfailovergroups + shortNames: + - asqlfog + singular: azuresqlfailovergroup + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSqlFailoverGroup is the Schema for the azuresqlfailovergroups 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: AzureSqlFailoverGroupSpec defines the desired state of AzureSqlFailoverGroup + properties: + databaselist: + items: + type: string + type: array + failovergraceperiod: + format: int32 + type: integer + failoverpolicy: + description: ReadWriteEndpointFailoverPolicy - wraps https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#ReadWriteEndpointFailoverPolicy + type: string + keyVaultToStoreSecrets: + type: string + location: + description: 'Important: Run "make" to regenerate code after modifying this file' + type: string + resourcegroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + secondaryserver: + type: string + secondaryserverresourcegroup: + type: string + server: + type: string + required: + - databaselist + - failovergraceperiod + - failoverpolicy + - location + - resourcegroup + - secondaryserver + - secondaryserverresourcegroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml new file mode 100644 index 000000000..d64b1acbf --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml @@ -0,0 +1,115 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlfirewallrules.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlFirewallRule + listKind: AzureSqlFirewallRuleList + plural: azuresqlfirewallrules + shortNames: + - asqlfwr + singular: azuresqlfirewallrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSqlFirewallRule is the Schema for the azuresqlfirewallrules 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: AzureSqlFirewallRuleSpec defines the desired state of AzureSqlFirewallRule + properties: + endipaddress: + type: string + resourcegroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + startipaddress: + type: string + required: + - resourcegroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml new file mode 100644 index 000000000..be5af14f5 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml @@ -0,0 +1,120 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlmanagedusers.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureSQLManagedUser + listKind: AzureSQLManagedUserList + plural: azuresqlmanagedusers + shortNames: + - asqlmu + singular: azuresqlmanageduser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSQLManagedUser is the Schema for the azuresqlmanagedusers 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: AzureSQLManagedUserSpec defines the desired state of AzureSQLManagedUser + properties: + dbName: + minLength: 1 + type: string + keyVaultSecretPrefix: + type: string + keyVaultToStoreSecrets: + type: string + managedIdentityClientId: + type: string + managedIdentityName: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + items: + type: string + type: array + server: + minLength: 1 + type: string + subscriptionId: + type: string + required: + - dbName + - managedIdentityClientId + - resourceGroup + - roles + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml new file mode 100644 index 000000000..7748de692 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml @@ -0,0 +1,113 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlservers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlServer + listKind: AzureSqlServerList + plural: azuresqlservers + shortNames: + - asqls + singular: azuresqlserver + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSqlServer is the Schema for the azuresqlservers 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: AzureSqlServerSpec defines the desired state of AzureSqlServer + properties: + keyVaultToStoreSecrets: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + resourcegroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - location + - resourcegroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml new file mode 100644 index 000000000..95304661c --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml @@ -0,0 +1,126 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlusers.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureSQLUser + listKind: AzureSQLUserList + plural: azuresqlusers + shortNames: + - asqlu + singular: azuresqluser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSQLUser is the Schema for the sqlusers 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: AzureSQLUserSpec defines the desired state of SqlUser + properties: + adminSecret: + type: string + adminSecretKeyVault: + type: string + dbName: + minLength: 1 + type: string + keyVaultSecretFormats: + items: + type: string + type: array + keyVaultSecretPrefix: + type: string + keyVaultToStoreSecrets: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + items: + type: string + type: array + server: + minLength: 1 + type: string + subscriptionId: + description: optional + type: string + username: + type: string + required: + - dbName + - resourceGroup + - roles + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml new file mode 100644 index 000000000..a20eb415b --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlvnetrules.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureSQLVNetRule + listKind: AzureSQLVNetRuleList + plural: azuresqlvnetrules + shortNames: + - asqlvnr + singular: azuresqlvnetrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureSQLVNetRule is the Schema for the azuresqlvnetrules 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: 'NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. AzureSQLVNetRuleSpec defines the desired state of AzureSQLVNetRule' + properties: + ignoreMissingServiceEndpoint: + type: boolean + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + minLength: 1 + type: string + serverSubscriptionID: + type: string + subnetName: + type: string + vNetName: + type: string + vNetResourceGroup: + type: string + vNetSubscriptionID: + type: string + required: + - resourceGroup + - server + - subnetName + - vNetName + - vNetResourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml new file mode 100644 index 000000000..7d82cd321 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml @@ -0,0 +1,122 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azurevirtualmachineextensions.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureVirtualMachineExtension + listKind: AzureVirtualMachineExtensionList + plural: azurevirtualmachineextensions + shortNames: + - avme + singular: azurevirtualmachineextension + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureVirtualMachineExtension is the Schema for the azurevirtualmachineextensions 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: AzureVirtualMachineExtensionSpec defines the desired state of AzureVirtualMachineExtension + properties: + autoUpgradeMinorVersion: + type: boolean + forceUpdateTag: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + protectedSettings: + type: string + publisher: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + settings: + type: string + typeHandlerVersion: + type: string + typeName: + type: string + vmName: + type: string + required: + - autoUpgradeMinorVersion + - forceUpdateTag + - location + - publisher + - resourceGroup + - typeHandlerVersion + - typeName + - vmName + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml new file mode 100644 index 000000000..79ebdae5a --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml @@ -0,0 +1,117 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azurevirtualmachines.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureVirtualMachine + listKind: AzureVirtualMachineList + plural: azurevirtualmachines + shortNames: + - avm + singular: azurevirtualmachine + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureVirtualMachine is the Schema for the azurevirtualmachines 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: AzureVirtualMachineSpec defines the desired state of AzureVirtualMachine + properties: + adminUserName: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + networkInterfaceName: + type: string + osType: + type: string + platformImageURN: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + sshPublicKeyData: + type: string + vmSize: + type: string + required: + - adminUserName + - location + - networkInterfaceName + - osType + - platformImageURN + - resourceGroup + - vmSize + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml new file mode 100644 index 000000000..ab58bed3b --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml @@ -0,0 +1,132 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: azurevmscalesets.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: AzureVMScaleSet + listKind: AzureVMScaleSetList + plural: azurevmscalesets + shortNames: + - avmss + singular: azurevmscaleset + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: AzureVMScaleSet is the Schema for the azurevmscalesets 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: AzureVMScaleSetSpec defines the desired state of AzureVMScaleSet + properties: + adminUserName: + type: string + backendAddressPoolName: + type: string + capacity: + type: integer + inboundNatPoolName: + type: string + loadBalancerName: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + osType: + type: string + platformImageURN: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + sshPublicKeyData: + type: string + subnetName: + type: string + virtualNetworkName: + type: string + vmSize: + type: string + required: + - adminUserName + - backendAddressPoolName + - capacity + - inboundNatPoolName + - loadBalancerName + - location + - osType + - platformImageURN + - resourceGroup + - subnetName + - virtualNetworkName + - vmSize + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml new file mode 100644 index 000000000..e10253ba5 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: blobcontainers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: BlobContainer + listKind: BlobContainerList + plural: blobcontainers + shortNames: + - bc + singular: blobcontainer + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: BlobContainer is the Schema for the blobcontainers 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: BlobContainerSpec defines the desired state of BlobContainer + properties: + accesslevel: + description: PublicAccess enumerates the values for public access. + type: string + accountname: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + resourcegroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - location + - resourcegroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml new file mode 100644 index 000000000..9e24d1756 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml @@ -0,0 +1,103 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: consumergroups.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: ConsumerGroup + listKind: ConsumerGroupList + plural: consumergroups + shortNames: + - cg + singular: consumergroup + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConsumerGroup is the Schema for the consumergroups 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: ConsumerGroupSpec defines the desired state of ConsumerGroup + properties: + consumerGroupName: + type: string + eventHub: + type: string + namespace: + type: string + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml new file mode 100644 index 000000000..3d46e6337 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: cosmosdbs.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: CosmosDB + listKind: CosmosDBList + plural: cosmosdbs + shortNames: + - cdb + singular: cosmosdb + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: CosmosDB is the Schema for the cosmosdbs 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: CosmosDBSpec defines the desired state of CosmosDB + properties: + ipRules: + items: + type: string + type: array + keyVaultToStoreSecrets: + type: string + kind: + description: CosmosDBKind enumerates the values for kind. Only one of the following kinds may be specified. If none of the following kinds is specified, the default one is GlobalDocumentDBKind. + enum: + - GlobalDocumentDB + - MongoDB + type: string + location: + description: Location is the Azure location where the CosmosDB exists + minLength: 0 + type: string + locations: + items: + description: CosmosDBLocation defines one or more locations for geo-redundancy and high availability + properties: + failoverPriority: + format: int32 + type: integer + isZoneRedundant: + type: boolean + locationName: + type: string + required: + - failoverPriority + - locationName + type: object + type: array + properties: + description: CosmosDBProperties the CosmosDBProperties of CosmosDB. + properties: + capabilities: + items: + description: Capability cosmos DB capability object + properties: + name: + description: Name *CosmosCapability `json:"name,omitempty"` + enum: + - EnableCassandra + - EnableTable + - EnableGremlin + - EnableMongo + type: string + type: object + type: array + databaseAccountOfferType: + description: DatabaseAccountOfferType - The offer type for the Cosmos DB database account. + enum: + - Standard + type: string + enableMultipleWriteLocations: + type: boolean + isVirtualNetworkFilterEnabled: + description: IsVirtualNetworkFilterEnabled - Flag to indicate whether to enable/disable Virtual Network ACL rules. + type: boolean + mongoDBVersion: + type: string + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + virtualNetworkRules: + items: + description: CosmosDBVirtualNetworkRule virtual Network ACL Rule object + properties: + ignoreMissingVNetServiceEndpoint: + description: IgnoreMissingVNetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled. + type: boolean + subnetID: + description: 'ID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.' + type: string + type: object + type: array + required: + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml new file mode 100644 index 000000000..451d32471 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml @@ -0,0 +1,150 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: eventhubnamespaces.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: EventhubNamespace + listKind: EventhubNamespaceList + plural: eventhubnamespaces + shortNames: + - ehns + singular: eventhubnamespace + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: EventhubNamespace is the Schema for the eventhubnamespaces 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: EventhubNamespaceSpec defines the desired state of EventhubNamespace + properties: + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + networkRule: + description: EventhubNamespaceNetworkRule defines the namespace network rule + properties: + defaultAction: + description: DefaultAction defined as a string + type: string + ipRules: + description: IPRules - List of IpRules + items: + properties: + ipMask: + description: IPMask - IPv4 address 1.1.1.1 or CIDR notation 1.1.0.0/24 + type: string + type: object + type: array + virtualNetworkRules: + description: VirtualNetworkRules - List VirtualNetwork Rules + items: + properties: + ignoreMissingServiceEndpoint: + description: IgnoreMissingVnetServiceEndpoint - Value that indicates whether to ignore missing VNet Service Endpoint + type: boolean + subnetId: + description: Subnet - Full Resource ID of Virtual Network Subnet + type: string + type: object + type: array + type: object + properties: + description: EventhubNamespaceProperties defines the namespace properties + properties: + isAutoInflateEnabled: + type: boolean + kafkaEnabled: + type: boolean + maximumThroughputUnits: + format: int32 + type: integer + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + sku: + description: EventhubNamespaceSku defines the sku + properties: + capacity: + format: int32 + type: integer + name: + type: string + tier: + type: string + type: object + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml new file mode 100644 index 000000000..629b59a29 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: eventhubs.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: Eventhub + listKind: EventhubList + plural: eventhubs + shortNames: + - eh + singular: eventhub + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: Eventhub is the Schema for the eventhubs 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: EventhubSpec defines the desired state of Eventhub + properties: + authorizationRule: + description: EventhubAuthorizationRule defines the name and rights of the access policy + properties: + name: + description: Name - Name of AuthorizationRule for eventhub + type: string + rights: + description: Rights - Rights set on the AuthorizationRule + items: + type: string + type: array + type: object + keyVaultToStoreSecrets: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + namespace: + type: string + properties: + description: EventhubProperties defines the namespace properties + properties: + captureDescription: + description: CaptureDescription - Details specifying EventHub capture to persistent storage + properties: + destination: + description: Destination - Resource id of the storage account to be used to create the blobs + properties: + archiveNameFormat: + description: ArchiveNameFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order + type: string + blobContainer: + description: BlobContainer - Blob container Name + type: string + name: + description: Name - Name for capture destination + enum: + - EventHubArchive.AzureBlockBlob + - EventHubArchive.AzureDataLake + type: string + storageAccount: + description: StorageAccount - Details of the storage account + properties: + accountName: + description: AccountName - Name of the storage account + maxLength: 24 + minLength: 3 + pattern: ^[a-z0-9]+$ + type: string + resourceGroup: + description: ResourceGroup - Name of the storage account resource group + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + type: object + type: object + enabled: + description: Enabled - indicates whether capture is enabled + type: boolean + intervalInSeconds: + description: IntervalInSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen + format: int32 + maximum: 900.0 + minimum: 60.0 + type: integer + sizeLimitInBytes: + description: SizeLimitInBytes - The size window defines the amount of data built up in your Event Hub before an capture operation + format: int32 + maximum: 524288000.0 + minimum: 10485760.0 + type: integer + required: + - enabled + type: object + messageRetentionInDays: + description: MessageRetentionInDays - Number of days to retain the events for this Event Hub, value should be 1 to 7 days + format: int32 + maximum: 7.0 + minimum: 1.0 + type: integer + partitionCount: + description: PartitionCount - Number of partitions created for the Event Hub, allowed values are from 2 to 32 partitions. + format: int32 + maximum: 32.0 + minimum: 2.0 + type: integer + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + secretName: + description: SecretName - Used to specify the name of the secret. Defaults to Event Hub name if omitted. + type: string + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml new file mode 100644 index 000000000..3fade63f3 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: keyvaultkeys.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: KeyVaultKey + listKind: KeyVaultKeyList + plural: keyvaultkeys + shortNames: + - kvk + singular: keyvaultkey + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeyVaultKey is the Schema for the keyvaultkeys 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: KeyVaultKeySpec defines the desired state of KeyVaultKey + properties: + curve: + description: JSONWebKeyCurveName enumerates the values for json web key curve name. + type: string + keySize: + format: int32 + type: integer + keyVault: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + operations: + items: + description: JSONWebKeyOperation enumerates the values for json web key operation. + type: string + type: array + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + type: + description: JSONWebKeyType enumerates the values for json web key type. + type: string + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml new file mode 100644 index 000000000..2df092dd1 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml @@ -0,0 +1,164 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: keyvaults.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: KeyVault + listKind: KeyVaultList + plural: keyvaults + shortNames: + - kv + singular: keyvault + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeyVault is the Schema for the keyvaults 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: KeyVaultSpec defines the desired state of KeyVault + properties: + accessPolicies: + items: + properties: + applicationID: + description: ApplicationID - Application ID of the client making request on behalf of a principal + type: string + clientID: + description: 'ClientID - The client ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The client ID must be unique for the list of access policies. TODO: Remove this in a future API version, see: https://github.com/Azure/azure-service-operator/issues/1351' + type: string + objectID: + description: ObjectID is the AAD object id of the entity to provide access to. + type: string + permissions: + description: Permissions - Permissions the identity has for keys, secrets, and certificates. + properties: + certificates: + items: + type: string + type: array + keys: + items: + type: string + type: array + secrets: + items: + type: string + type: array + storage: + items: + type: string + type: array + type: object + tenantID: + description: TenantID - The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + type: string + type: object + type: array + enableSoftDelete: + type: boolean + location: + type: string + networkPolicies: + properties: + bypass: + description: 'Bypass - Tells what traffic can bypass network rules. This can be ''AzureServices'' or ''None''. If not specified the default is ''AzureServices''. Possible values include: ''AzureServices'', ''None''' + type: string + defaultAction: + description: 'DefaultAction - The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Possible values include: ''Allow'', ''Deny''' + type: string + ipRules: + description: IPRules - The list of IP address rules. + items: + type: string + type: array + virtualNetworkRules: + description: VirtualNetworkRules - The list of virtual network rules. + items: + type: string + type: array + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + sku: + description: KeyVaultSku the SKU of the Key Vault + properties: + name: + description: 'Name - The SKU name. Required for account creation; optional for update. Possible values include: ''Premium'', `Standard`' + type: string + type: object + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml new file mode 100644 index 000000000..75b56845b --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml @@ -0,0 +1,127 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlaadusers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: MySQLAADUser + listKind: MySQLAADUserList + plural: mysqlaadusers + singular: mysqlaaduser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLAADUser is the Schema for an AAD user for MySQL + 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: MySQLAADUserSpec defines the desired state of MySQLAADUser + properties: + aadId: + description: AAD ID is the ID of the user in Azure Active Directory. When creating a user for a managed identity this must be the client id (sometimes called app id) of the managed identity. When creating a user for a "normal" (non-managed identity) user or group, this is the OID of the user or group. + minLength: 1 + type: string + dbName: + minLength: 1 + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + description: The roles assigned to the user. A user must have at least one role. + items: + type: string + minItems: 1 + type: array + server: + minLength: 1 + type: string + username: + description: optional + type: string + required: + - dbName + - resourceGroup + - roles + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml new file mode 100644 index 000000000..7324357b5 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml @@ -0,0 +1,98 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqldatabases.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: MySQLDatabase + listKind: MySQLDatabaseList + plural: mysqldatabases + shortNames: + - mysqldb + singular: mysqldatabase + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLDatabase is the Schema for the mysqldatabases 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: MySQLDatabaseSpec defines the desired state of MySQLDatabase + properties: + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + required: + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml new file mode 100644 index 000000000..5e5b2feb7 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml @@ -0,0 +1,105 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlfirewallrules.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: MySQLFirewallRule + listKind: MySQLFirewallRuleList + plural: mysqlfirewallrules + shortNames: + - mysqlfwr + singular: mysqlfirewallrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLFirewallRule is the Schema for the mysqlfirewallrules 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: MySQLFirewallRuleSpec defines the desired state of MySQLFirewallRule + properties: + endIpAddress: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + startIpAddress: + type: string + required: + - endIpAddress + - resourceGroup + - server + - startIpAddress + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml new file mode 100644 index 000000000..1ab866178 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlserveradministrators.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: MySQLServerAdministrator + listKind: MySQLServerAdministratorList + plural: mysqlserveradministrators + shortNames: + - mysqladmin + singular: mysqlserveradministrator + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLServerAdministrator is the Schema for the mysqlserveradministrator 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: + properties: + administratorType: + description: 'AdministratorType: The type of administrator.' + enum: + - ActiveDirectory + type: string + login: + description: 'Login: The server administrator login account name. For example: "myuser@microsoft.com" might be the login if specifying an AAD user. "my-mi" might be the name of a managed identity' + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + sid: + description: 'Sid: The server administrator Sid (Secure ID). If creating for an AAD user or group, this is the OID of the entity in AAD. For a managed identity this should be the Client ID (or app id) of the identity.' + type: string + tenantId: + description: 'TenantId: The server Active Directory Administrator tenant id.' + type: string + required: + - administratorType + - login + - resourceGroup + - server + - sid + - tenantId + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml new file mode 100644 index 000000000..7c22a0653 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml @@ -0,0 +1,143 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlservers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: MySQLServer + listKind: MySQLServerList + plural: mysqlservers + shortNames: + - mysqls + singular: mysqlserver + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLServer is the Schema for the mysqlservers 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: MySQLServerSpec defines the desired state of MySQLServer + properties: + createMode: + type: string + keyVaultToStoreSecrets: + type: string + location: + type: string + replicaProperties: + properties: + sourceServerId: + type: string + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + serverVersion: + description: ServerVersion enumerates the values for server version. + type: string + sku: + properties: + capacity: + description: Capacity - The scale up/out capacity, representing server's compute units. + format: int32 + type: integer + family: + description: Family - The family of hardware. + type: string + name: + description: Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + type: string + size: + description: Size - The size code, to be interpreted by resource as appropriate. + type: string + tier: + description: 'Tier - The tier of the particular SKU, e.g. Basic. Possible values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' + type: string + type: object + sslEnforcement: + type: string + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml new file mode 100644 index 000000000..d314d8440 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml @@ -0,0 +1,126 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlusers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: MySQLUser + listKind: MySQLUserList + plural: mysqlusers + singular: mysqluser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLUser is the Schema for the mysqlusers 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: MySQLUserSpec defines the desired state of MySqlUser + properties: + adminSecret: + description: optional + type: string + adminSecretKeyVault: + type: string + dbName: + type: string + keyVaultToStoreSecrets: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + items: + type: string + type: array + server: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + username: + type: string + required: + - dbName + - resourceGroup + - roles + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml new file mode 100644 index 000000000..94c48f5a5 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml @@ -0,0 +1,113 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlvnetrules.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: MySQLVNetRule + listKind: MySQLVNetRuleList + plural: mysqlvnetrules + shortNames: + - mysqlvnr + singular: mysqlvnetrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: MySQLVNetRule is the Schema for the mysqlvnetrules 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: MySQLVNetRuleSpec defines the desired state of MySQLVNetRule + properties: + ignoreMissingServiceEndpoint: + type: boolean + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + subnetName: + type: string + vNetName: + type: string + vNetResourceGroup: + type: string + vNetSubscriptionID: + type: string + required: + - resourceGroup + - server + - subnetName + - vNetName + - vNetResourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml new file mode 100644 index 000000000..3c0964ad9 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml @@ -0,0 +1,100 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: postgresqldatabases.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: PostgreSQLDatabase + listKind: PostgreSQLDatabaseList + plural: postgresqldatabases + shortNames: + - psqldb + singular: postgresqldatabase + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: PostgreSQLDatabase is the Schema for the postgresqldatabases 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: PostgreSQLDatabaseSpec defines the desired state of PostgreSQLDatabase + properties: + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + required: + - resourceGroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml new file mode 100644 index 000000000..a986c81e8 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml @@ -0,0 +1,106 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: postgresqlfirewallrules.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: PostgreSQLFirewallRule + listKind: PostgreSQLFirewallRuleList + plural: postgresqlfirewallrules + shortNames: + - psqlfwr + singular: postgresqlfirewallrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: PostgreSQLFirewallRule is the Schema for the postgresqlfirewallrules 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: PostgreSQLFirewallRuleSpec defines the desired state of PostgreSQLFirewallRule + properties: + endIpAddress: + type: string + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + startIpAddress: + type: string + required: + - endIpAddress + - resourceGroup + - server + - startIpAddress + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml new file mode 100644 index 000000000..a7cc716ce --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml @@ -0,0 +1,143 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: postgresqlservers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: PostgreSQLServer + listKind: PostgreSQLServerList + plural: postgresqlservers + shortNames: + - psqls + singular: postgresqlserver + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: PostgreSQLServer is the Schema for the postgresqlservers 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: PostgreSQLServerSpec defines the desired state of PostgreSQLServer + properties: + createMode: + type: string + keyVaultToStoreSecrets: + type: string + location: + type: string + replicaProperties: + properties: + sourceServerId: + type: string + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + serverVersion: + description: ServerVersion enumerates the values for server version. + type: string + sku: + properties: + capacity: + description: Capacity - The scale up/out capacity, representing server's compute units. + format: int32 + type: integer + family: + description: Family - The family of hardware. + type: string + name: + description: Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + type: string + size: + description: Size - The size code, to be interpreted by resource as appropriate. + type: string + tier: + description: 'Tier - The tier of the particular SKU, e.g. Basic. Possible values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' + type: string + type: object + sslEnforcement: + type: string + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml new file mode 100644 index 000000000..20cb127f9 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml @@ -0,0 +1,117 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: postgresqlusers.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: PostgreSQLUser + listKind: PostgreSQLUserList + plural: postgresqlusers + shortNames: + - psqlu + singular: postgresqluser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: PostgreSQLUser is the Schema for the postgresqlusers 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: PostgreSQLUserSpec defines the desired state of PostgreSqlUser + properties: + adminSecret: + description: optional + type: string + adminSecretKeyVault: + type: string + dbName: + type: string + keyVaultToStoreSecrets: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + items: + type: string + type: array + server: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + username: + type: string + required: + - dbName + - resourceGroup + - roles + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml new file mode 100644 index 000000000..e63b78849 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml @@ -0,0 +1,113 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: postgresqlvnetrules.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: PostgreSQLVNetRule + listKind: PostgreSQLVNetRuleList + plural: postgresqlvnetrules + shortNames: + - psqlvnr + singular: postgresqlvnetrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: PostgreSQLVNetRule is the Schema for the PostgreSQLVNetRules 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: PotgreSQLVNetRuleSpec defines the desired state of PostgreSQLVNetRule + properties: + ignoreMissingServiceEndpoint: + type: boolean + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + type: string + subnetName: + type: string + vNetName: + type: string + vNetResourceGroup: + type: string + vNetSubscriptionID: + type: string + required: + - resourceGroup + - server + - subnetName + - vNetName + - vNetResourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml new file mode 100644 index 000000000..966de91bb --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: rediscacheactions.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: RedisCacheAction + listKind: RedisCacheActionList + plural: rediscacheactions + shortNames: + - rca + singular: rediscacheaction + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: RedisCacheAction is the Schema for the rediscacheactions 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: RedisCacheActionSpec defines the desired state of RedisCacheAction + properties: + actionName: + enum: + - rollallkeys + - rollprimarykey + - rollsecondarykey + - rebootallnodes + - rebootprimarynode + - rebootsecondarynode + type: string + cacheName: + type: string + keyVaultToStoreSecrets: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + secretName: + type: string + shardID: + format: int32 + type: integer + required: + - actionName + - cacheName + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml new file mode 100644 index 000000000..a8b2a028b --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml @@ -0,0 +1,111 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: rediscachefirewallrules.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: RedisCacheFirewallRule + listKind: RedisCacheFirewallRuleList + plural: rediscachefirewallrules + shortNames: + - rcfwr + singular: rediscachefirewallrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: RedisCacheFirewallRule is the Schema for the rediscachefirewallrules 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: RedisCacheFirewallRuleSpec defines the desired state of RedisCacheFirewallRule + properties: + properties: + description: RedisCacheFirewallRuleProperties the parameters of the RedisCacheFirewallRule + properties: + endIP: + type: string + startIP: + type: string + required: + - endIP + - startIP + type: object + redisCache: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - properties + - redisCache + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml new file mode 100644 index 000000000..0313e1664 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml @@ -0,0 +1,95 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: resourcegroups.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: ResourceGroup + listKind: ResourceGroupList + plural: resourcegroups + shortNames: + - rg + singular: resourcegroup + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: ResourceGroup is the Schema for the resourcegroups 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: ResourceGroupSpec defines the desired state of ResourceGroup + properties: + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + required: + - location + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml new file mode 100644 index 000000000..661b9753b --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: storageaccounts.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: StorageAccount + listKind: StorageAccountList + plural: storageaccounts + shortNames: + - sacct + singular: storageaccount + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: StorageAccount is the Schema for the storages API + properties: + additionalResources: + description: StorageAccountAdditionalResources holds the additional resources + properties: + secrets: + items: + type: string + type: array + type: object + 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 + output: + description: StorageAccountOutput is the object that contains the output from creating a Storage Account object + properties: + connectionString1: + type: string + connectionString2: + type: string + key1: + type: string + key2: + type: string + storageAccountName: + type: string + type: object + spec: + description: StorageAccountSpec defines the desired state of Storage + properties: + accessTier: + description: StorageAccountAccessTier enumerates the values for access tier. Only one of the following access tiers may be specified. If none of the following access tiers is specified, the default one is Hot. + enum: + - Cool + - Hot + type: string + dataLakeEnabled: + type: boolean + kind: + description: StorageAccountKind enumerates the values for kind. Only one of the following kinds may be specified. If none of the following kinds is specified, the default one is StorageV2. + enum: + - BlobStorage + - BlockBlobStorage + - FileStorage + - Storage + - StorageV2 + type: string + location: + minLength: 0 + type: string + networkRule: + properties: + bypass: + description: 'Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: ''None'', ''Logging'', ''Metrics'', ''AzureServices''' + type: string + defaultAction: + description: 'DefaultAction - Specifies the default action of allow or deny when no other rules match. Possible values include: ''DefaultActionAllow'', ''DefaultActionDeny''' + type: string + ipRules: + description: IPRules - Sets the IP ACL rules + items: + properties: + ipAddressOrRange: + description: IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + type: string + type: object + type: array + virtualNetworkRules: + description: VirtualNetworkRules - Sets the virtual network rules + items: + properties: + subnetId: + description: 'SubnetId - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.' + type: string + type: object + type: array + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + sku: + description: StorageAccountSku the SKU of the storage account. + properties: + name: + description: 'Name - The SKU name. Required for account creation; optional for update. Possible values include: ''Standard_LRS'', ''Standard_GRS'', ''Standard_RAGRS'', ''Standard_ZRS'', ''Premium_LRS'', ''Premium_ZRS'', ''Standard_GZRS'', ''Standard_RAGZRS''. For the full list of allowed options, see: https://docs.microsoft.com/en-us/rest/api/storagerp/storageaccounts/create#skuname' + enum: + - Premium_LRS + - Premium_ZRS + - Standard_GRS + - Standard_GZRS + - Standard_LRS + - Standard_RAGRS + - Standard_RAGZRS + - Standard_ZRS + type: string + type: object + supportsHttpsTrafficOnly: + type: boolean + required: + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml new file mode 100644 index 000000000..10506f87f --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml @@ -0,0 +1,121 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + name: virtualnetworks.azure.microsoft.com +spec: + group: azure.microsoft.com + names: + kind: VirtualNetwork + listKind: VirtualNetworkList + plural: virtualnetworks + shortNames: + - vn + singular: virtualnetwork + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualNetwork is the Schema for the virtualnetworks 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: VirtualNetworkSpec defines the desired state of VirtualNetwork + properties: + addressSpace: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + subnets: + items: + description: VNetSubnets defines subnets for this vnet + properties: + serviceEndpoints: + items: + type: string + type: array + subnetAddressPrefix: + type: string + subnetName: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + required: + - subnetAddressPrefix + - subnetName + type: object + type: array + required: + - addressSpace + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml new file mode 100644 index 000000000..a9a2450a3 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: blobcontainers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: BlobContainer + listKind: BlobContainerList + plural: blobcontainers + shortNames: + - bc + singular: blobcontainer + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: BlobContainer is the Schema for the blobcontainers 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: BlobContainerSpec defines the desired state of BlobContainer + properties: + accessLevel: + description: PublicAccess enumerates the values for public access. + type: string + accountName: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml new file mode 100644 index 000000000..c64025f0a --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml @@ -0,0 +1,128 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlaadusers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: MySQLAADUser + listKind: MySQLAADUserList + plural: mysqlaadusers + singular: mysqlaaduser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: MySQLAADUser is the Schema for an AAD user for MySQL + 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: MySQLAADUserSpec defines the desired state of MySQLAADUser + properties: + aadId: + description: AAD ID is the ID of the user in Azure Active Directory. When creating a user for a managed identity this must be the client id (sometimes called app id) of the managed identity. When creating a user for a "normal" (non-managed identity) user or group, this is the OID of the user or group. + minLength: 1 + type: string + databaseRoles: + additionalProperties: + items: + type: string + type: array + description: The database-level roles assigned to the user (keyed by database name). + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + description: The server-level roles assigned to the user. + items: + type: string + type: array + server: + minLength: 1 + type: string + username: + type: string + required: + - resourceGroup + - roles + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml new file mode 100644 index 000000000..cdcaf7cd7 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlservers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: MySQLServer + listKind: MySQLServerList + plural: mysqlservers + shortNames: + - mysqls + singular: mysqlserver + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: MySQLServer is the Schema for the mysqlservers 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: MySQLServerSpec defines the desired state of MySQLServer + properties: + adminSecret: + description: AdminSecret is the name of a Kubernetes secret containing the username and password of the MySQLServer administrator account. When specified, the `username` and `password` fields of this secret will be included in the generated secret associated with this MySQLServer. If AdminSecret is specified but a secret with the given name is not found in the same namespace as the MySQLServer, then reconciliation will block until the secret is created. If this is not specified, a username and password will be automatically generated. + minLength: 1 + type: string + createMode: + type: string + keyVaultToStoreSecrets: + type: string + location: + type: string + replicaProperties: + properties: + sourceServerId: + type: string + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + serverVersion: + description: ServerVersion enumerates the values for server version. + type: string + sku: + properties: + capacity: + description: Capacity - The scale up/out capacity, representing server's compute units. + format: int32 + type: integer + family: + description: Family - The family of hardware. + type: string + name: + description: Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + type: string + size: + description: Size - The size code, to be interpreted by resource as appropriate. + type: string + tier: + description: 'Tier - The tier of the particular SKU, e.g. Basic. Possible values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' + enum: + - Basic + - GeneralPurpose + - MemoryOptimized + type: string + type: object + sslEnforcement: + enum: + - Enabled + - Disabled + type: string + storageProfile: + properties: + backupRetentionDays: + description: BackupRetentionDays - Backup retention days for the server. + format: int32 + type: integer + geoRedundantBackup: + description: 'GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: ''Enabled'', ''Disabled''' + type: string + storageAutogrow: + description: 'StorageAutogrow - Enable Storage Auto Grow. Possible values include: ''Enabled'', ''Disabled''' + enum: + - Enabled + - Disabled + type: string + storageMB: + description: StorageMB - Max storage allowed for a server. + format: int32 + type: integer + type: object + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml new file mode 100644 index 000000000..38d5c0855 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml @@ -0,0 +1,130 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: mysqlusers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: MySQLUser + listKind: MySQLUserList + plural: mysqlusers + singular: mysqluser + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: MySQLUser is the Schema for the mysqlusers 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: MySQLUserSpec defines the desired state of MySqlUser + properties: + adminSecret: + type: string + adminSecretKeyVault: + type: string + databaseRoles: + additionalProperties: + items: + type: string + type: array + description: The database-level roles assigned to the user (keyed by database name). + type: object + keyVaultToStoreSecrets: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + roles: + description: The server-level roles assigned ot the user. + items: + type: string + type: array + server: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + type: string + username: + type: string + required: + - resourceGroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml new file mode 100644 index 000000000..9e774f52d --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: postgresqlservers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: PostgreSQLServer + listKind: PostgreSQLServerList + plural: postgresqlservers + shortNames: + - psqls + singular: postgresqlserver + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: PostgreSQLServer is the Schema for the postgresqlservers 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: PostgreSQLServerSpec defines the desired state of PostgreSQLServer + properties: + createMode: + type: string + keyVaultToStoreSecrets: + type: string + location: + type: string + replicaProperties: + properties: + sourceServerId: + type: string + type: object + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + serverVersion: + description: ServerVersion enumerates the values for server version. + type: string + sku: + properties: + capacity: + description: Capacity - The scale up/out capacity, representing server's compute units. + format: int32 + type: integer + family: + description: Family - The family of hardware. + type: string + name: + description: Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + type: string + size: + description: Size - The size code, to be interpreted by resource as appropriate. + type: string + tier: + description: 'Tier - The tier of the particular SKU, e.g. Basic. Possible values include: ''Basic'', ''GeneralPurpose'', ''MemoryOptimized''' + enum: + - Basic + - GeneralPurpose + - MemoryOptimized + type: string + type: object + sslEnforcement: + enum: + - Enabled + - Disabled + type: string + storageProfile: + properties: + backupRetentionDays: + description: BackupRetentionDays - Backup retention days for the server. + format: int32 + type: integer + geoRedundantBackup: + description: 'GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: ''Enabled'', ''Disabled''' + type: string + storageAutogrow: + description: 'StorageAutogrow - Enable Storage Auto Grow. Possible values include: ''Enabled'', ''Disabled''' + enum: + - Enabled + - Disabled + type: string + storageMB: + description: StorageMB - Max storage allowed for a server. + format: int32 + type: integer + type: object + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml new file mode 100644 index 000000000..aee61e014 --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqldatabases.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlDatabase + listKind: AzureSqlDatabaseList + plural: azuresqldatabases + shortNames: + - asqldb + singular: azuresqldatabase + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1beta1 + schema: + openAPIV3Schema: + description: AzureSqlDatabase is the Schema for the azuresqldatabases 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: AzureSqlDatabaseSpec defines the desired state of AzureSqlDatabase + properties: + dbName: + type: string + edition: + type: integer + elasticPoolId: + type: string + location: + minLength: 1 + type: string + maxSize: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + monthlyRetention: + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + minLength: 1 + type: string + shortTermRetentionPolicy: + properties: + retentionDays: + description: RetentionDays is the backup retention period in days. This is how many days Point-in-Time Restore will be supported. + format: int32 + type: integer + required: + - retentionDays + type: object + sku: + properties: + capacity: + description: Capacity - Capacity of the particular SKU. + format: int32 + type: integer + family: + description: Family - If the service has different generations of hardware, for the same SKU, then that can be captured here. + type: string + name: + description: Name - The name of the SKU, typically, a letter + Number code, e.g. P3. + minLength: 1 + type: string + size: + description: Size - Size of the particular SKU + type: string + tier: + description: optional Tier - The tier or edition of the particular SKU, e.g. Basic, Premium. + type: string + required: + - name + type: object + subscriptionId: + type: string + weekOfYear: + format: int32 + type: integer + weeklyRetention: + type: string + yearlyRetention: + type: string + required: + - edition + - location + - resourceGroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml new file mode 100644 index 000000000..9b5312f9f --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml @@ -0,0 +1,145 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlfailovergroups.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlFailoverGroup + listKind: AzureSqlFailoverGroupList + plural: azuresqlfailovergroups + shortNames: + - asqlfog + singular: azuresqlfailovergroup + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1beta1 + schema: + openAPIV3Schema: + description: AzureSqlFailoverGroup is the Schema for the azuresqlfailovergroups 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: AzureSqlFailoverGroupSpec defines the desired state of AzureSqlFailoverGroup + properties: + SecondaryServerSubscriptionId: + type: string + databaseList: + items: + type: string + type: array + failoverGracePeriod: + description: 'TODO: This field should be a ptr as it must not be specified if the failover policy is Manual, TODO: but is required when the policy is Automatic' + format: int32 + type: integer + failoverPolicy: + description: ReadWriteEndpointFailoverPolicy - wraps https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#ReadWriteEndpointFailoverPolicy + enum: + - Automatic + - Manual + type: string + keyVaultToStoreSecrets: + type: string + location: + description: 'Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + secondaryServer: + type: string + secondaryServerResourceGroup: + type: string + server: + minLength: 1 + type: string + subscriptionId: + type: string + required: + - databaseList + - failoverGracePeriod + - failoverPolicy + - location + - resourceGroup + - secondaryServer + - secondaryServerResourceGroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml new file mode 100644 index 000000000..8f6586cfb --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml @@ -0,0 +1,118 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlfirewallrules.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlFirewallRule + listKind: AzureSqlFirewallRuleList + plural: azuresqlfirewallrules + shortNames: + - asqlfwr + singular: azuresqlfirewallrule + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1beta1 + schema: + openAPIV3Schema: + description: AzureSqlFirewallRule is the Schema for the azuresqlfirewallrules 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: AzureSqlFirewallRuleSpec defines the desired state of AzureSqlFirewallRule + properties: + endIpAddress: + type: string + resourceGroup: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + server: + minLength: 1 + type: string + startIpAddress: + type: string + subscriptionID: + type: string + required: + - resourceGroup + - server + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml new file mode 100644 index 000000000..bddf30bfa --- /dev/null +++ b/crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml @@ -0,0 +1,116 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: azureoperator-system/azureoperator-serving-cert + controller-gen.kubebuilder.io/version: v0.8.0 + name: azuresqlservers.azure.microsoft.com +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + name: azureoperator-webhook-service + namespace: azureoperator-system + path: /convert + conversionReviewVersions: + - v1beta1 + group: azure.microsoft.com + names: + kind: AzureSqlServer + listKind: AzureSqlServerList + plural: azuresqlservers + shortNames: + - asqls + singular: azuresqlserver + preserveUnknownFields: false + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .status.provisioned + name: Provisioned + type: string + - jsonPath: .status.message + name: Message + type: string + name: v1beta1 + schema: + openAPIV3Schema: + description: AzureSqlServer is the Schema for the azuresqlservers 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: AzureSqlServerSpec defines the desired state of AzureSqlServer + properties: + keyVaultToStoreSecrets: + type: string + location: + description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file' + minLength: 1 + type: string + resourceGroup: + minLength: 1 + pattern: ^[-\w\._\(\)]+$ + type: string + subscriptionId: + type: string + required: + - location + - resourceGroup + type: object + status: + description: ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions + properties: + completed: + format: date-time + type: string + containsUpdate: + type: boolean + failedProvisioning: + type: boolean + flattenedSecrets: + type: boolean + message: + type: string + output: + type: string + pollingUrl: + type: string + pollingUrlKind: + enum: + - CreateOrUpdate + - Delete + type: string + provisioned: + type: boolean + provisioning: + type: boolean + requested: + format: date-time + type: string + resourceId: + type: string + specHash: + type: string + state: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: '' + plural: '' + conditions: [] + storedVersions: [] diff --git a/kube-custom-resources-rs/Cargo.toml b/kube-custom-resources-rs/Cargo.toml index e94dc8765..bb4db94d1 100644 --- a/kube-custom-resources-rs/Cargo.toml +++ b/kube-custom-resources-rs/Cargo.toml @@ -58,6 +58,9 @@ atlasmap_io_v1alpha1 = [] autoscaling_k8s_io_v1 = [] autoscaling_k8s_io_v1beta2 = [] autoscaling_karmada_io_v1alpha1 = [] +azure_microsoft_com_v1alpha1 = [] +azure_microsoft_com_v1alpha2 = [] +azure_microsoft_com_v1beta1 = [] b3scale_infra_run_v1 = [] batch_volcano_sh_v1alpha1 = [] beat_k8s_elastic_co_v1beta1 = [] diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimgmtapis.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimgmtapis.rs new file mode 100644 index 000000000..d8296f3ba --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimgmtapis.rs @@ -0,0 +1,130 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimgmtapis.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// APIMgmtSpec defines the desired state of APIMgmt +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "APIMgmtAPI", plural = "apimgmtapis")] +#[kube(namespaced)] +#[kube(status = "APIMgmtAPIStatus")] +#[kube(schema = "disabled")] +pub struct APIMgmtAPISpec { + #[serde(rename = "apiId")] + pub api_id: String, + #[serde(rename = "apiService")] + pub api_service: String, + pub location: String, + pub properties: APIMgmtAPIProperties, + #[serde(rename = "resourceGroup")] + pub resource_group: String, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct APIMgmtAPIProperties { + /// APIRevision - Describes the Revision of the Api. If no value is provided, default revision 1 is created + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiRevision")] + pub api_revision: Option, + /// APIRevisionDescription - Description of the Api Revision. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiRevisionDescription")] + pub api_revision_description: Option, + /// APIVersion - Indicates the Version identifier of the API if the API is versioned + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersion")] + pub api_version: Option, + /// APIVersionDescription - Description of the Api Version. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersionDescription")] + pub api_version_description: Option, + /// APIVersionSetID - A resource identifier for the related ApiVersionSet. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersionSetId")] + pub api_version_set_id: Option, + /// APIVersionSet - APIVersionSetContractDetails an API Version Set contains the common configuration for a set of API versions. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "apiVersionSets")] + pub api_version_sets: Option, + /// Description - Description of the API. May include HTML formatting tags. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + /// DisplayName - API name. Must be 1 to 300 characters long. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "displayName")] + pub display_name: Option, + /// Format - Format of the Content in which the API is getting imported. Possible values include: 'WadlXML', 'WadlLinkJSON', 'SwaggerJSON', 'SwaggerLinkJSON', 'Wsdl', 'WsdlLink', 'Openapi', 'Openapijson', 'OpenapiLink' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub format: Option, + /// IsCurrent - Indicates if API revision is current api revision. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "isCurrent")] + pub is_current: Option, + /// IsOnline - READ-ONLY; Indicates if API revision is accessible via the gateway. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "isOnline")] + pub is_online: Option, + /// Path - Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub path: Option, + /// Protocols - Describes on which protocols the operations in this API can be invoked. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub protocols: Option>, + /// ServiceURL - Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceUrl")] + pub service_url: Option, + /// SourceAPIID - API identifier of the source API. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceApiId")] + pub source_api_id: Option, + /// SubscriptionRequired - Specifies whether an API or Product subscription is required for accessing the API. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionRequired")] + pub subscription_required: Option, +} + +/// APIVersionSet - APIVersionSetContractDetails an API Version Set contains the common configuration for a set of API versions. +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct APIMgmtAPIPropertiesApiVersionSets { + /// Description - Description of API Version Set. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub description: Option, + /// ID - Identifier for existing API Version Set. Omit this value to create a new Version Set. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub id: Option, + /// Name - The display Name of the API Version Set. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct APIMgmtAPIStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum APIMgmtAPIStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimservices.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimservices.rs new file mode 100644 index 000000000..d0c2669df --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/apimservices.rs @@ -0,0 +1,78 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/apimservices.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// ApimServiceSpec defines the desired state of ApimService +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "ApimService", plural = "apimservices")] +#[kube(namespaced)] +#[kube(status = "ApimServiceStatus")] +#[kube(schema = "disabled")] +pub struct ApimServiceSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appInsightsName")] + pub app_insights_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "appInsightsResourceGroup")] + pub app_insights_resource_group: Option, + pub location: String, + #[serde(rename = "publisherEmail")] + pub publisher_email: String, + #[serde(rename = "publisherName")] + pub publisher_name: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vnetName")] + pub vnet_name: Option, + #[serde(rename = "vnetResourceGroup")] + pub vnet_resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vnetSubnetName")] + pub vnet_subnet_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vnetType")] + pub vnet_type: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct ApimServiceStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum ApimServiceStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsights.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsights.rs new file mode 100644 index 000000000..ea78b4786 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsights.rs @@ -0,0 +1,64 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsights.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AppInsightsSpec defines the desired state of AppInsights +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AppInsights", plural = "appinsights")] +#[kube(namespaced)] +#[kube(status = "AppInsightsStatus")] +#[kube(schema = "disabled")] +pub struct AppInsightsSpec { + #[serde(rename = "applicationType")] + pub application_type: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + pub kind: String, + pub location: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AppInsightsStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AppInsightsStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsightsapikeys.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsightsapikeys.rs new file mode 100644 index 000000000..6b5fb47c6 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/appinsightsapikeys.rs @@ -0,0 +1,66 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/appinsightsapikeys.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AppInsightsApiKeySpec defines the desired state of AppInsightsApiKey +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AppInsightsApiKey", plural = "appinsightsapikeys")] +#[kube(namespaced)] +#[kube(status = "AppInsightsApiKeyStatus")] +#[kube(schema = "disabled")] +pub struct AppInsightsApiKeySpec { + #[serde(rename = "appInsights")] + pub app_insights: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "authSDKControlChannel")] + pub auth_sdk_control_channel: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "readTelemetry")] + pub read_telemetry: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "writeAnnotations")] + pub write_annotations: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AppInsightsApiKeyStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AppInsightsApiKeyStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azureloadbalancers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azureloadbalancers.rs new file mode 100644 index 000000000..766fe6d53 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azureloadbalancers.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azureloadbalancers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureLoadBalancerSpec defines the desired state of AzureLoadBalancer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureLoadBalancer", plural = "azureloadbalancers")] +#[kube(namespaced)] +#[kube(status = "AzureLoadBalancerStatus")] +#[kube(schema = "disabled")] +pub struct AzureLoadBalancerSpec { + #[serde(rename = "backendAddressPoolName")] + pub backend_address_pool_name: String, + #[serde(rename = "backendPort")] + pub backend_port: i64, + #[serde(rename = "frontendPortRangeEnd")] + pub frontend_port_range_end: i64, + #[serde(rename = "frontendPortRangeStart")] + pub frontend_port_range_start: i64, + #[serde(rename = "inboundNatPoolName")] + pub inbound_nat_pool_name: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "publicIPAddressName")] + pub public_ip_address_name: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureLoadBalancerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureLoadBalancerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurenetworkinterfaces.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurenetworkinterfaces.rs new file mode 100644 index 000000000..77fa8160f --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurenetworkinterfaces.rs @@ -0,0 +1,66 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurenetworkinterfaces.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureNetworkInterfaceSpec defines the desired state of AzureNetworkInterface +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureNetworkInterface", plural = "azurenetworkinterfaces")] +#[kube(namespaced)] +#[kube(status = "AzureNetworkInterfaceStatus")] +#[kube(schema = "disabled")] +pub struct AzureNetworkInterfaceSpec { + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "publicIPAddressName")] + pub public_ip_address_name: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(rename = "subnetName")] + pub subnet_name: String, + #[serde(rename = "vnetName")] + pub vnet_name: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureNetworkInterfaceStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureNetworkInterfaceStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurepublicipaddresses.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurepublicipaddresses.rs new file mode 100644 index 000000000..5a0452443 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurepublicipaddresses.rs @@ -0,0 +1,70 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurepublicipaddresses.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; +use std::collections::BTreeMap; + +/// AzurePublicIPAddressSpec defines the desired state of AzurePublicIPAddress +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzurePublicIPAddress", plural = "azurepublicipaddresses")] +#[kube(namespaced)] +#[kube(status = "AzurePublicIPAddressStatus")] +#[kube(schema = "disabled")] +pub struct AzurePublicIPAddressSpec { + #[serde(rename = "idleTimeoutInMinutes")] + pub idle_timeout_in_minutes: i64, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipTags")] + pub ip_tags: Option>, + pub location: String, + #[serde(rename = "publicIPAddressVersion")] + pub public_ip_address_version: String, + #[serde(rename = "publicIPAllocationMethod")] + pub public_ip_allocation_method: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(rename = "skuName")] + pub sku_name: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzurePublicIPAddressStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzurePublicIPAddressStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlactions.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlactions.rs new file mode 100644 index 000000000..06791df2a --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlactions.rs @@ -0,0 +1,75 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlactions.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlActionSpec defines the desired state of AzureSqlAction +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSqlAction", plural = "azuresqlactions")] +#[kube(namespaced)] +#[kube(status = "AzureSqlActionStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlActionSpec { + #[serde(rename = "actionName")] + pub action_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dbName")] + pub db_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dbUser")] + pub db_user: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverAdminSecretName")] + pub server_admin_secret_name: Option, + #[serde(rename = "serverName")] + pub server_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverSecretKeyVault")] + pub server_secret_key_vault: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionId")] + pub subscription_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "userSecretKeyVault")] + pub user_secret_key_vault: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlActionStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlActionStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqldatabases.rs new file mode 100644 index 000000000..eaf802549 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqldatabases.rs @@ -0,0 +1,65 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqldatabases.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlDatabaseSpec defines the desired state of AzureSqlDatabase +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSqlDatabase", plural = "azuresqldatabases")] +#[kube(namespaced)] +#[kube(status = "AzureSqlDatabaseStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlDatabaseSpec { + /// optional + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dbName")] + pub db_name: Option, + /// DBEdition - wraps: https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#DatabaseEdition + pub edition: i64, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + pub resourcegroup: String, + pub server: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlDatabaseStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlDatabaseStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfailovergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfailovergroups.rs new file mode 100644 index 000000000..015192690 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfailovergroups.rs @@ -0,0 +1,68 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfailovergroups.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlFailoverGroupSpec defines the desired state of AzureSqlFailoverGroup +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSqlFailoverGroup", plural = "azuresqlfailovergroups")] +#[kube(namespaced)] +#[kube(status = "AzureSqlFailoverGroupStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlFailoverGroupSpec { + pub databaselist: Vec, + pub failovergraceperiod: i32, + /// ReadWriteEndpointFailoverPolicy - wraps https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#ReadWriteEndpointFailoverPolicy + pub failoverpolicy: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + /// Important: Run "make" to regenerate code after modifying this file + pub location: String, + pub resourcegroup: String, + pub secondaryserver: String, + pub secondaryserverresourcegroup: String, + pub server: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlFailoverGroupStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlFailoverGroupStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfirewallrules.rs new file mode 100644 index 000000000..90ea80751 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlfirewallrules.rs @@ -0,0 +1,63 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlfirewallrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlFirewallRuleSpec defines the desired state of AzureSqlFirewallRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSqlFirewallRule", plural = "azuresqlfirewallrules")] +#[kube(namespaced)] +#[kube(status = "AzureSqlFirewallRuleStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlFirewallRuleSpec { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub endipaddress: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub resourcegroup: String, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub startipaddress: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlFirewallRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlFirewallRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlmanagedusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlmanagedusers.rs new file mode 100644 index 000000000..edf758c50 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlmanagedusers.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlmanagedusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSQLManagedUserSpec defines the desired state of AzureSQLManagedUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSQLManagedUser", plural = "azuresqlmanagedusers")] +#[kube(namespaced)] +#[kube(status = "AzureSQLManagedUserStatus")] +#[kube(schema = "disabled")] +pub struct AzureSQLManagedUserSpec { + #[serde(rename = "dbName")] + pub db_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultSecretPrefix")] + pub key_vault_secret_prefix: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + #[serde(rename = "managedIdentityClientId")] + pub managed_identity_client_id: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "managedIdentityName")] + pub managed_identity_name: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub roles: Vec, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionId")] + pub subscription_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSQLManagedUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSQLManagedUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlservers.rs new file mode 100644 index 000000000..088c02586 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlservers.rs @@ -0,0 +1,61 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlservers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlServerSpec defines the desired state of AzureSqlServer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSqlServer", plural = "azuresqlservers")] +#[kube(namespaced)] +#[kube(status = "AzureSqlServerStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlServerSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + pub resourcegroup: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlServerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlServerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlusers.rs new file mode 100644 index 000000000..141e405c6 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlusers.rs @@ -0,0 +1,77 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSQLUserSpec defines the desired state of SqlUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSQLUser", plural = "azuresqlusers")] +#[kube(namespaced)] +#[kube(status = "AzureSQLUserStatus")] +#[kube(schema = "disabled")] +pub struct AzureSQLUserSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecret")] + pub admin_secret: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecretKeyVault")] + pub admin_secret_key_vault: Option, + #[serde(rename = "dbName")] + pub db_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultSecretFormats")] + pub key_vault_secret_formats: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultSecretPrefix")] + pub key_vault_secret_prefix: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub roles: Vec, + pub server: String, + /// optional + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionId")] + pub subscription_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSQLUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSQLUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlvnetrules.rs new file mode 100644 index 000000000..5495fc978 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azuresqlvnetrules.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azuresqlvnetrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. AzureSQLVNetRuleSpec defines the desired state of AzureSQLVNetRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureSQLVNetRule", plural = "azuresqlvnetrules")] +#[kube(namespaced)] +#[kube(status = "AzureSQLVNetRuleStatus")] +#[kube(schema = "disabled")] +pub struct AzureSQLVNetRuleSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreMissingServiceEndpoint")] + pub ignore_missing_service_endpoint: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverSubscriptionID")] + pub server_subscription_id: Option, + #[serde(rename = "subnetName")] + pub subnet_name: String, + #[serde(rename = "vNetName")] + pub v_net_name: String, + #[serde(rename = "vNetResourceGroup")] + pub v_net_resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vNetSubscriptionID")] + pub v_net_subscription_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSQLVNetRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSQLVNetRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachineextensions.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachineextensions.rs new file mode 100644 index 000000000..07775bf27 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachineextensions.rs @@ -0,0 +1,75 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachineextensions.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureVirtualMachineExtensionSpec defines the desired state of AzureVirtualMachineExtension +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureVirtualMachineExtension", plural = "azurevirtualmachineextensions")] +#[kube(namespaced)] +#[kube(status = "AzureVirtualMachineExtensionStatus")] +#[kube(schema = "disabled")] +pub struct AzureVirtualMachineExtensionSpec { + #[serde(rename = "autoUpgradeMinorVersion")] + pub auto_upgrade_minor_version: bool, + #[serde(rename = "forceUpdateTag")] + pub force_update_tag: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "protectedSettings")] + pub protected_settings: Option, + pub publisher: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub settings: Option, + #[serde(rename = "typeHandlerVersion")] + pub type_handler_version: String, + #[serde(rename = "typeName")] + pub type_name: String, + #[serde(rename = "vmName")] + pub vm_name: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureVirtualMachineExtensionStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureVirtualMachineExtensionStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachines.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachines.rs new file mode 100644 index 000000000..53af0cb78 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevirtualmachines.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevirtualmachines.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureVirtualMachineSpec defines the desired state of AzureVirtualMachine +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureVirtualMachine", plural = "azurevirtualmachines")] +#[kube(namespaced)] +#[kube(status = "AzureVirtualMachineStatus")] +#[kube(schema = "disabled")] +pub struct AzureVirtualMachineSpec { + #[serde(rename = "adminUserName")] + pub admin_user_name: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "networkInterfaceName")] + pub network_interface_name: String, + #[serde(rename = "osType")] + pub os_type: String, + #[serde(rename = "platformImageURN")] + pub platform_image_urn: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sshPublicKeyData")] + pub ssh_public_key_data: Option, + #[serde(rename = "vmSize")] + pub vm_size: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureVirtualMachineStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureVirtualMachineStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevmscalesets.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevmscalesets.rs new file mode 100644 index 000000000..2c48bfdeb --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/azurevmscalesets.rs @@ -0,0 +1,81 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/azurevmscalesets.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureVMScaleSetSpec defines the desired state of AzureVMScaleSet +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "AzureVMScaleSet", plural = "azurevmscalesets")] +#[kube(namespaced)] +#[kube(status = "AzureVMScaleSetStatus")] +#[kube(schema = "disabled")] +pub struct AzureVMScaleSetSpec { + #[serde(rename = "adminUserName")] + pub admin_user_name: String, + #[serde(rename = "backendAddressPoolName")] + pub backend_address_pool_name: String, + pub capacity: i64, + #[serde(rename = "inboundNatPoolName")] + pub inbound_nat_pool_name: String, + #[serde(rename = "loadBalancerName")] + pub load_balancer_name: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "osType")] + pub os_type: String, + #[serde(rename = "platformImageURN")] + pub platform_image_urn: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sshPublicKeyData")] + pub ssh_public_key_data: Option, + #[serde(rename = "subnetName")] + pub subnet_name: String, + #[serde(rename = "virtualNetworkName")] + pub virtual_network_name: String, + #[serde(rename = "vmSize")] + pub vm_size: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureVMScaleSetStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureVMScaleSetStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/blobcontainers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/blobcontainers.rs new file mode 100644 index 000000000..a7425dbab --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/blobcontainers.rs @@ -0,0 +1,64 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/blobcontainers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// BlobContainerSpec defines the desired state of BlobContainer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "BlobContainer", plural = "blobcontainers")] +#[kube(namespaced)] +#[kube(status = "BlobContainerStatus")] +#[kube(schema = "disabled")] +pub struct BlobContainerSpec { + /// PublicAccess enumerates the values for public access. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub accesslevel: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub accountname: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + pub resourcegroup: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct BlobContainerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum BlobContainerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/consumergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/consumergroups.rs new file mode 100644 index 000000000..6a852eed9 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/consumergroups.rs @@ -0,0 +1,65 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/consumergroups.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// ConsumerGroupSpec defines the desired state of ConsumerGroup +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "ConsumerGroup", plural = "consumergroups")] +#[kube(namespaced)] +#[kube(status = "ConsumerGroupStatus")] +#[kube(schema = "disabled")] +pub struct ConsumerGroupSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "consumerGroupName")] + pub consumer_group_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "eventHub")] + pub event_hub: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct ConsumerGroupStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum ConsumerGroupStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/cosmosdbs.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/cosmosdbs.rs new file mode 100644 index 000000000..936ac3318 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/cosmosdbs.rs @@ -0,0 +1,146 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/cosmosdbs.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// CosmosDBSpec defines the desired state of CosmosDB +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "CosmosDB", plural = "cosmosdbs")] +#[kube(namespaced)] +#[kube(status = "CosmosDBStatus")] +#[kube(schema = "disabled")] +pub struct CosmosDBSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipRules")] + pub ip_rules: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + /// CosmosDBKind enumerates the values for kind. Only one of the following kinds may be specified. If none of the following kinds is specified, the default one is GlobalDocumentDBKind. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kind: Option, + /// Location is the Azure location where the CosmosDB exists + #[serde(default, skip_serializing_if = "Option::is_none")] + pub location: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub locations: Option>, + /// CosmosDBProperties the CosmosDBProperties of CosmosDB. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "virtualNetworkRules")] + pub virtual_network_rules: Option>, +} + +/// CosmosDBSpec defines the desired state of CosmosDB +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum CosmosDBKind { + #[serde(rename = "GlobalDocumentDB")] + GlobalDocumentDb, + #[serde(rename = "MongoDB")] + MongoDb, +} + +/// CosmosDBLocation defines one or more locations for geo-redundancy and high availability +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct CosmosDBLocations { + #[serde(rename = "failoverPriority")] + pub failover_priority: i32, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "isZoneRedundant")] + pub is_zone_redundant: Option, + #[serde(rename = "locationName")] + pub location_name: String, +} + +/// CosmosDBProperties the CosmosDBProperties of CosmosDB. +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct CosmosDBProperties { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capabilities: Option>, + /// DatabaseAccountOfferType - The offer type for the Cosmos DB database account. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseAccountOfferType")] + pub database_account_offer_type: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableMultipleWriteLocations")] + pub enable_multiple_write_locations: Option, + /// IsVirtualNetworkFilterEnabled - Flag to indicate whether to enable/disable Virtual Network ACL rules. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "isVirtualNetworkFilterEnabled")] + pub is_virtual_network_filter_enabled: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "mongoDBVersion")] + pub mongo_db_version: Option, +} + +/// Capability cosmos DB capability object +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct CosmosDBPropertiesCapabilities { + /// Name *CosmosCapability `json:"name,omitempty"` + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + +/// Capability cosmos DB capability object +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum CosmosDBPropertiesCapabilitiesName { + EnableCassandra, + EnableTable, + EnableGremlin, + EnableMongo, +} + +/// CosmosDBProperties the CosmosDBProperties of CosmosDB. +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum CosmosDBPropertiesDatabaseAccountOfferType { + Standard, +} + +/// CosmosDBVirtualNetworkRule virtual Network ACL Rule object +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct CosmosDBVirtualNetworkRules { + /// IgnoreMissingVNetServiceEndpoint - Create firewall rule before the virtual network has vnet service endpoint enabled. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreMissingVNetServiceEndpoint")] + pub ignore_missing_v_net_service_endpoint: Option, + /// ID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subnetID")] + pub subnet_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct CosmosDBStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum CosmosDBStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubnamespaces.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubnamespaces.rs new file mode 100644 index 000000000..e339ea86d --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubnamespaces.rs @@ -0,0 +1,122 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubnamespaces.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// EventhubNamespaceSpec defines the desired state of EventhubNamespace +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "EventhubNamespace", plural = "eventhubnamespaces")] +#[kube(namespaced)] +#[kube(status = "EventhubNamespaceStatus")] +#[kube(schema = "disabled")] +pub struct EventhubNamespaceSpec { + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + /// EventhubNamespaceNetworkRule defines the namespace network rule + #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkRule")] + pub network_rule: Option, + /// EventhubNamespaceProperties defines the namespace properties + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// EventhubNamespaceSku defines the sku + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, +} + +/// EventhubNamespaceNetworkRule defines the namespace network rule +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubNamespaceNetworkRule { + /// DefaultAction defined as a string + #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultAction")] + pub default_action: Option, + /// IPRules - List of IpRules + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipRules")] + pub ip_rules: Option>, + /// VirtualNetworkRules - List VirtualNetwork Rules + #[serde(default, skip_serializing_if = "Option::is_none", rename = "virtualNetworkRules")] + pub virtual_network_rules: Option>, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubNamespaceNetworkRuleIpRules { + /// IPMask - IPv4 address 1.1.1.1 or CIDR notation 1.1.0.0/24 + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipMask")] + pub ip_mask: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubNamespaceNetworkRuleVirtualNetworkRules { + /// IgnoreMissingVnetServiceEndpoint - Value that indicates whether to ignore missing VNet Service Endpoint + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreMissingServiceEndpoint")] + pub ignore_missing_service_endpoint: Option, + /// Subnet - Full Resource ID of Virtual Network Subnet + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subnetId")] + pub subnet_id: Option, +} + +/// EventhubNamespaceProperties defines the namespace properties +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubNamespaceProperties { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "isAutoInflateEnabled")] + pub is_auto_inflate_enabled: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "kafkaEnabled")] + pub kafka_enabled: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maximumThroughputUnits")] + pub maximum_throughput_units: Option, +} + +/// EventhubNamespaceSku defines the sku +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubNamespaceSku { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubNamespaceStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum EventhubNamespaceStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubs.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubs.rs new file mode 100644 index 000000000..683eec448 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/eventhubs.rs @@ -0,0 +1,151 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/eventhubs.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// EventhubSpec defines the desired state of Eventhub +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "Eventhub", plural = "eventhubs")] +#[kube(namespaced)] +#[kube(status = "EventhubStatus")] +#[kube(schema = "disabled")] +pub struct EventhubSpec { + /// EventhubAuthorizationRule defines the name and rights of the access policy + #[serde(default, skip_serializing_if = "Option::is_none", rename = "authorizationRule")] + pub authorization_rule: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub namespace: Option, + /// EventhubProperties defines the namespace properties + #[serde(default, skip_serializing_if = "Option::is_none")] + pub properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// SecretName - Used to specify the name of the secret. Defaults to Event Hub name if omitted. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] + pub secret_name: Option, +} + +/// EventhubAuthorizationRule defines the name and rights of the access policy +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubAuthorizationRule { + /// Name - Name of AuthorizationRule for eventhub + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Rights - Rights set on the AuthorizationRule + #[serde(default, skip_serializing_if = "Option::is_none")] + pub rights: Option>, +} + +/// EventhubProperties defines the namespace properties +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubProperties { + /// CaptureDescription - Details specifying EventHub capture to persistent storage + #[serde(default, skip_serializing_if = "Option::is_none", rename = "captureDescription")] + pub capture_description: Option, + /// MessageRetentionInDays - Number of days to retain the events for this Event Hub, value should be 1 to 7 days + #[serde(default, skip_serializing_if = "Option::is_none", rename = "messageRetentionInDays")] + pub message_retention_in_days: Option, + /// PartitionCount - Number of partitions created for the Event Hub, allowed values are from 2 to 32 partitions. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "partitionCount")] + pub partition_count: Option, +} + +/// CaptureDescription - Details specifying EventHub capture to persistent storage +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubPropertiesCaptureDescription { + /// Destination - Resource id of the storage account to be used to create the blobs + #[serde(default, skip_serializing_if = "Option::is_none")] + pub destination: Option, + /// Enabled - indicates whether capture is enabled + pub enabled: bool, + /// IntervalInSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen + #[serde(default, skip_serializing_if = "Option::is_none", rename = "intervalInSeconds")] + pub interval_in_seconds: Option, + /// SizeLimitInBytes - The size window defines the amount of data built up in your Event Hub before an capture operation + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sizeLimitInBytes")] + pub size_limit_in_bytes: Option, +} + +/// Destination - Resource id of the storage account to be used to create the blobs +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubPropertiesCaptureDescriptionDestination { + /// ArchiveNameFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order + #[serde(default, skip_serializing_if = "Option::is_none", rename = "archiveNameFormat")] + pub archive_name_format: Option, + /// BlobContainer - Blob container Name + #[serde(default, skip_serializing_if = "Option::is_none", rename = "blobContainer")] + pub blob_container: Option, + /// Name - Name for capture destination + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// StorageAccount - Details of the storage account + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageAccount")] + pub storage_account: Option, +} + +/// Destination - Resource id of the storage account to be used to create the blobs +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum EventhubPropertiesCaptureDescriptionDestinationName { + #[serde(rename = "EventHubArchive.AzureBlockBlob")] + EventHubArchiveAzureBlockBlob, + #[serde(rename = "EventHubArchive.AzureDataLake")] + EventHubArchiveAzureDataLake, +} + +/// StorageAccount - Details of the storage account +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubPropertiesCaptureDescriptionDestinationStorageAccount { + /// AccountName - Name of the storage account + #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountName")] + pub account_name: Option, + /// ResourceGroup - Name of the storage account resource group + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceGroup")] + pub resource_group: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct EventhubStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum EventhubStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaultkeys.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaultkeys.rs new file mode 100644 index 000000000..a5a883e19 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaultkeys.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaultkeys.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// KeyVaultKeySpec defines the desired state of KeyVaultKey +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "KeyVaultKey", plural = "keyvaultkeys")] +#[kube(namespaced)] +#[kube(status = "KeyVaultKeyStatus")] +#[kube(schema = "disabled")] +pub struct KeyVaultKeySpec { + /// JSONWebKeyCurveName enumerates the values for json web key curve name. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub curve: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keySize")] + pub key_size: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVault")] + pub key_vault: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub operations: Option>, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// JSONWebKeyType enumerates the values for json web key type. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "type")] + pub r#type: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct KeyVaultKeyStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum KeyVaultKeyStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaults.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaults.rs new file mode 100644 index 000000000..802c555b1 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/keyvaults.rs @@ -0,0 +1,124 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/keyvaults.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// KeyVaultSpec defines the desired state of KeyVault +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "KeyVault", plural = "keyvaults")] +#[kube(namespaced)] +#[kube(status = "KeyVaultStatus")] +#[kube(schema = "disabled")] +pub struct KeyVaultSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessPolicies")] + pub access_policies: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "enableSoftDelete")] + pub enable_soft_delete: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkPolicies")] + pub network_policies: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// KeyVaultSku the SKU of the Key Vault + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct KeyVaultAccessPolicies { + /// ApplicationID - Application ID of the client making request on behalf of a principal + #[serde(default, skip_serializing_if = "Option::is_none", rename = "applicationID")] + pub application_id: Option, + /// ClientID - The client ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The client ID must be unique for the list of access policies. TODO: Remove this in a future API version, see: https://github.com/Azure/azure-service-operator/issues/1351 + #[serde(default, skip_serializing_if = "Option::is_none", rename = "clientID")] + pub client_id: Option, + /// ObjectID is the AAD object id of the entity to provide access to. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "objectID")] + pub object_id: Option, + /// Permissions - Permissions the identity has for keys, secrets, and certificates. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub permissions: Option, + /// TenantID - The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "tenantID")] + pub tenant_id: Option, +} + +/// Permissions - Permissions the identity has for keys, secrets, and certificates. +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct KeyVaultAccessPoliciesPermissions { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub certificates: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub keys: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub secrets: Option>, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub storage: Option>, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct KeyVaultNetworkPolicies { + /// Bypass - Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. Possible values include: 'AzureServices', 'None' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bypass: Option, + /// DefaultAction - The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny' + #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultAction")] + pub default_action: Option, + /// IPRules - The list of IP address rules. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipRules")] + pub ip_rules: Option>, + /// VirtualNetworkRules - The list of virtual network rules. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "virtualNetworkRules")] + pub virtual_network_rules: Option>, +} + +/// KeyVaultSku the SKU of the Key Vault +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct KeyVaultSku { + /// Name - The SKU name. Required for account creation; optional for update. Possible values include: 'Premium', `Standard` + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct KeyVaultStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum KeyVaultStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mod.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mod.rs new file mode 100644 index 000000000..87380b0df --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mod.rs @@ -0,0 +1,42 @@ +pub mod apimgmtapis; +pub mod apimservices; +pub mod appinsights; +pub mod appinsightsapikeys; +pub mod azureloadbalancers; +pub mod azurenetworkinterfaces; +pub mod azurepublicipaddresses; +pub mod azuresqlactions; +pub mod azuresqldatabases; +pub mod azuresqlfailovergroups; +pub mod azuresqlfirewallrules; +pub mod azuresqlmanagedusers; +pub mod azuresqlservers; +pub mod azuresqlusers; +pub mod azuresqlvnetrules; +pub mod azurevirtualmachineextensions; +pub mod azurevirtualmachines; +pub mod azurevmscalesets; +pub mod blobcontainers; +pub mod consumergroups; +pub mod cosmosdbs; +pub mod eventhubnamespaces; +pub mod eventhubs; +pub mod keyvaultkeys; +pub mod keyvaults; +pub mod mysqlaadusers; +pub mod mysqldatabases; +pub mod mysqlfirewallrules; +pub mod mysqlserveradministrators; +pub mod mysqlservers; +pub mod mysqlusers; +pub mod mysqlvnetrules; +pub mod postgresqldatabases; +pub mod postgresqlfirewallrules; +pub mod postgresqlservers; +pub mod postgresqlusers; +pub mod postgresqlvnetrules; +pub mod rediscacheactions; +pub mod rediscachefirewallrules; +pub mod resourcegroups; +pub mod storageaccounts; +pub mod virtualnetworks; diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlaadusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlaadusers.rs new file mode 100644 index 000000000..d79307836 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlaadusers.rs @@ -0,0 +1,69 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlaadusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLAADUserSpec defines the desired state of MySQLAADUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLAADUser", plural = "mysqlaadusers")] +#[kube(namespaced)] +#[kube(status = "MySQLAADUserStatus")] +#[kube(schema = "disabled")] +pub struct MySQLAADUserSpec { + /// AAD ID is the ID of the user in Azure Active Directory. When creating a user for a managed identity this must be the client id (sometimes called app id) of the managed identity. When creating a user for a "normal" (non-managed identity) user or group, this is the OID of the user or group. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "aadId")] + pub aad_id: Option, + #[serde(rename = "dbName")] + pub db_name: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// The roles assigned to the user. A user must have at least one role. + pub roles: Vec, + pub server: String, + /// optional + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLAADUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLAADUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqldatabases.rs new file mode 100644 index 000000000..52de0e5ae --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqldatabases.rs @@ -0,0 +1,60 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqldatabases.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLDatabaseSpec defines the desired state of MySQLDatabase +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLDatabase", plural = "mysqldatabases")] +#[kube(namespaced)] +#[kube(status = "MySQLDatabaseStatus")] +#[kube(schema = "disabled")] +pub struct MySQLDatabaseSpec { + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub server: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLDatabaseStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLDatabaseStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlfirewallrules.rs new file mode 100644 index 000000000..480398d0d --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlfirewallrules.rs @@ -0,0 +1,63 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlfirewallrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLFirewallRuleSpec defines the desired state of MySQLFirewallRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLFirewallRule", plural = "mysqlfirewallrules")] +#[kube(namespaced)] +#[kube(status = "MySQLFirewallRuleStatus")] +#[kube(schema = "disabled")] +pub struct MySQLFirewallRuleSpec { + #[serde(rename = "endIpAddress")] + pub end_ip_address: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(rename = "startIpAddress")] + pub start_ip_address: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLFirewallRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLFirewallRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlserveradministrators.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlserveradministrators.rs new file mode 100644 index 000000000..b8899e1ed --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlserveradministrators.rs @@ -0,0 +1,73 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlserveradministrators.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLServerAdministrator", plural = "mysqlserveradministrators")] +#[kube(namespaced)] +#[kube(status = "MySQLServerAdministratorStatus")] +#[kube(schema = "disabled")] +pub struct MySQLServerAdministratorSpec { + /// AdministratorType: The type of administrator. + #[serde(rename = "administratorType")] + pub administrator_type: MySQLServerAdministratorAdministratorType, + /// Login: The server administrator login account name. For example: "myuser@microsoft.com" might be the login if specifying an AAD user. "my-mi" might be the name of a managed identity + pub login: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + /// Sid: The server administrator Sid (Secure ID). If creating for an AAD user or group, this is the OID of the entity in AAD. For a managed identity this should be the Client ID (or app id) of the identity. + pub sid: String, + /// TenantId: The server Active Directory Administrator tenant id. + #[serde(rename = "tenantId")] + pub tenant_id: String, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerAdministratorAdministratorType { + ActiveDirectory, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerAdministratorStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerAdministratorStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlservers.rs new file mode 100644 index 000000000..fb65a8069 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlservers.rs @@ -0,0 +1,97 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlservers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLServerSpec defines the desired state of MySQLServer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLServer", plural = "mysqlservers")] +#[kube(namespaced)] +#[kube(status = "MySQLServerStatus")] +#[kube(schema = "disabled")] +pub struct MySQLServerSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "createMode")] + pub create_mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "replicaProperties")] + pub replica_properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// ServerVersion enumerates the values for server version. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverVersion")] + pub server_version: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sslEnforcement")] + pub ssl_enforcement: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerReplicaProperties { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceServerId")] + pub source_server_id: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerSku { + /// Capacity - The scale up/out capacity, representing server's compute units. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + /// Family - The family of hardware. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub family: Option, + /// Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Size - The size code, to be interpreted by resource as appropriate. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub size: Option, + /// Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlusers.rs new file mode 100644 index 000000000..15a53ea8c --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlusers.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLUserSpec defines the desired state of MySqlUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLUser", plural = "mysqlusers")] +#[kube(namespaced)] +#[kube(status = "MySQLUserStatus")] +#[kube(schema = "disabled")] +pub struct MySQLUserSpec { + /// optional + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecret")] + pub admin_secret: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecretKeyVault")] + pub admin_secret_key_vault: Option, + #[serde(rename = "dbName")] + pub db_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub roles: Vec, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlvnetrules.rs new file mode 100644 index 000000000..e92de165c --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/mysqlvnetrules.rs @@ -0,0 +1,70 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/mysqlvnetrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLVNetRuleSpec defines the desired state of MySQLVNetRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "MySQLVNetRule", plural = "mysqlvnetrules")] +#[kube(namespaced)] +#[kube(status = "MySQLVNetRuleStatus")] +#[kube(schema = "disabled")] +pub struct MySQLVNetRuleSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreMissingServiceEndpoint")] + pub ignore_missing_service_endpoint: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(rename = "subnetName")] + pub subnet_name: String, + #[serde(rename = "vNetName")] + pub v_net_name: String, + #[serde(rename = "vNetResourceGroup")] + pub v_net_resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vNetSubscriptionID")] + pub v_net_subscription_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLVNetRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLVNetRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqldatabases.rs new file mode 100644 index 000000000..dae7621c1 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqldatabases.rs @@ -0,0 +1,60 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqldatabases.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// PostgreSQLDatabaseSpec defines the desired state of PostgreSQLDatabase +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "PostgreSQLDatabase", plural = "postgresqldatabases")] +#[kube(namespaced)] +#[kube(status = "PostgreSQLDatabaseStatus")] +#[kube(schema = "disabled")] +pub struct PostgreSQLDatabaseSpec { + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLDatabaseStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLDatabaseStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlfirewallrules.rs new file mode 100644 index 000000000..248037e4d --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlfirewallrules.rs @@ -0,0 +1,64 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlfirewallrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// PostgreSQLFirewallRuleSpec defines the desired state of PostgreSQLFirewallRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "PostgreSQLFirewallRule", plural = "postgresqlfirewallrules")] +#[kube(namespaced)] +#[kube(status = "PostgreSQLFirewallRuleStatus")] +#[kube(schema = "disabled")] +pub struct PostgreSQLFirewallRuleSpec { + #[serde(rename = "endIpAddress")] + pub end_ip_address: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(rename = "startIpAddress")] + pub start_ip_address: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLFirewallRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLFirewallRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlservers.rs new file mode 100644 index 000000000..7c95f027c --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlservers.rs @@ -0,0 +1,97 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlservers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// PostgreSQLServerSpec defines the desired state of PostgreSQLServer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "PostgreSQLServer", plural = "postgresqlservers")] +#[kube(namespaced)] +#[kube(status = "PostgreSQLServerStatus")] +#[kube(schema = "disabled")] +pub struct PostgreSQLServerSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "createMode")] + pub create_mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "replicaProperties")] + pub replica_properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// ServerVersion enumerates the values for server version. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverVersion")] + pub server_version: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sslEnforcement")] + pub ssl_enforcement: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerReplicaProperties { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceServerId")] + pub source_server_id: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerSku { + /// Capacity - The scale up/out capacity, representing server's compute units. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + /// Family - The family of hardware. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub family: Option, + /// Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Size - The size code, to be interpreted by resource as appropriate. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub size: Option, + /// Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLServerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlusers.rs new file mode 100644 index 000000000..b2c93ec78 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlusers.rs @@ -0,0 +1,72 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// PostgreSQLUserSpec defines the desired state of PostgreSqlUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "PostgreSQLUser", plural = "postgresqlusers")] +#[kube(namespaced)] +#[kube(status = "PostgreSQLUserStatus")] +#[kube(schema = "disabled")] +pub struct PostgreSQLUserSpec { + /// optional + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecret")] + pub admin_secret: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecretKeyVault")] + pub admin_secret_key_vault: Option, + #[serde(rename = "dbName")] + pub db_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub roles: Vec, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlvnetrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlvnetrules.rs new file mode 100644 index 000000000..e686a638b --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/postgresqlvnetrules.rs @@ -0,0 +1,70 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/postgresqlvnetrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// PotgreSQLVNetRuleSpec defines the desired state of PostgreSQLVNetRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "PostgreSQLVNetRule", plural = "postgresqlvnetrules")] +#[kube(namespaced)] +#[kube(status = "PostgreSQLVNetRuleStatus")] +#[kube(schema = "disabled")] +pub struct PostgreSQLVNetRuleSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ignoreMissingServiceEndpoint")] + pub ignore_missing_service_endpoint: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(rename = "subnetName")] + pub subnet_name: String, + #[serde(rename = "vNetName")] + pub v_net_name: String, + #[serde(rename = "vNetResourceGroup")] + pub v_net_resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "vNetSubscriptionID")] + pub v_net_subscription_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLVNetRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLVNetRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscacheactions.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscacheactions.rs new file mode 100644 index 000000000..28a3cebd8 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscacheactions.rs @@ -0,0 +1,85 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscacheactions.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// RedisCacheActionSpec defines the desired state of RedisCacheAction +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "RedisCacheAction", plural = "rediscacheactions")] +#[kube(namespaced)] +#[kube(status = "RedisCacheActionStatus")] +#[kube(schema = "disabled")] +pub struct RedisCacheActionSpec { + #[serde(rename = "actionName")] + pub action_name: RedisCacheActionActionName, + #[serde(rename = "cacheName")] + pub cache_name: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] + pub secret_name: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "shardID")] + pub shard_id: Option, +} + +/// RedisCacheActionSpec defines the desired state of RedisCacheAction +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum RedisCacheActionActionName { + #[serde(rename = "rollallkeys")] + Rollallkeys, + #[serde(rename = "rollprimarykey")] + Rollprimarykey, + #[serde(rename = "rollsecondarykey")] + Rollsecondarykey, + #[serde(rename = "rebootallnodes")] + Rebootallnodes, + #[serde(rename = "rebootprimarynode")] + Rebootprimarynode, + #[serde(rename = "rebootsecondarynode")] + Rebootsecondarynode, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct RedisCacheActionStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum RedisCacheActionStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscachefirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscachefirewallrules.rs new file mode 100644 index 000000000..7e3002697 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/rediscachefirewallrules.rs @@ -0,0 +1,71 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/rediscachefirewallrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// RedisCacheFirewallRuleSpec defines the desired state of RedisCacheFirewallRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "RedisCacheFirewallRule", plural = "rediscachefirewallrules")] +#[kube(namespaced)] +#[kube(status = "RedisCacheFirewallRuleStatus")] +#[kube(schema = "disabled")] +pub struct RedisCacheFirewallRuleSpec { + /// RedisCacheFirewallRuleProperties the parameters of the RedisCacheFirewallRule + pub properties: RedisCacheFirewallRuleProperties, + #[serde(rename = "redisCache")] + pub redis_cache: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, +} + +/// RedisCacheFirewallRuleProperties the parameters of the RedisCacheFirewallRule +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct RedisCacheFirewallRuleProperties { + #[serde(rename = "endIP")] + pub end_ip: String, + #[serde(rename = "startIP")] + pub start_ip: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct RedisCacheFirewallRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum RedisCacheFirewallRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/resourcegroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/resourcegroups.rs new file mode 100644 index 000000000..758e8a3a9 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/resourcegroups.rs @@ -0,0 +1,58 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/resourcegroups.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// ResourceGroupSpec defines the desired state of ResourceGroup +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "ResourceGroup", plural = "resourcegroups")] +#[kube(namespaced)] +#[kube(status = "ResourceGroupStatus")] +#[kube(schema = "disabled")] +pub struct ResourceGroupSpec { + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct ResourceGroupStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum ResourceGroupStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/storageaccounts.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/storageaccounts.rs new file mode 100644 index 000000000..f5d1b4a61 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/storageaccounts.rs @@ -0,0 +1,173 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/storageaccounts.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// StorageAccountAdditionalResources holds the additional resources +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountAdditionalResources { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub secrets: Option>, +} + +/// StorageAccountOutput is the object that contains the output from creating a Storage Account object +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountOutput { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionString1")] + pub connection_string1: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "connectionString2")] + pub connection_string2: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key1: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub key2: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageAccountName")] + pub storage_account_name: Option, +} + +/// StorageAccountSpec defines the desired state of Storage +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "StorageAccount", plural = "storageaccounts")] +#[kube(namespaced)] +#[kube(status = "StorageAccountStatus")] +#[kube(schema = "disabled")] +pub struct StorageAccountSpec { + /// StorageAccountAccessTier enumerates the values for access tier. Only one of the following access tiers may be specified. If none of the following access tiers is specified, the default one is Hot. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessTier")] + pub access_tier: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dataLakeEnabled")] + pub data_lake_enabled: Option, + /// StorageAccountKind enumerates the values for kind. Only one of the following kinds may be specified. If none of the following kinds is specified, the default one is StorageV2. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub location: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "networkRule")] + pub network_rule: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// StorageAccountSku the SKU of the storage account. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "supportsHttpsTrafficOnly")] + pub supports_https_traffic_only: Option, +} + +/// StorageAccountSpec defines the desired state of Storage +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum StorageAccountAccessTier { + Cool, + Hot, +} + +/// StorageAccountSpec defines the desired state of Storage +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum StorageAccountKind { + BlobStorage, + BlockBlobStorage, + FileStorage, + Storage, + StorageV2, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountNetworkRule { + /// Bypass - Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub bypass: Option, + /// DefaultAction - Specifies the default action of allow or deny when no other rules match. Possible values include: 'DefaultActionAllow', 'DefaultActionDeny' + #[serde(default, skip_serializing_if = "Option::is_none", rename = "defaultAction")] + pub default_action: Option, + /// IPRules - Sets the IP ACL rules + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipRules")] + pub ip_rules: Option>, + /// VirtualNetworkRules - Sets the virtual network rules + #[serde(default, skip_serializing_if = "Option::is_none", rename = "virtualNetworkRules")] + pub virtual_network_rules: Option>, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountNetworkRuleIpRules { + /// IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "ipAddressOrRange")] + pub ip_address_or_range: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountNetworkRuleVirtualNetworkRules { + /// SubnetId - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subnetId")] + pub subnet_id: Option, +} + +/// StorageAccountSku the SKU of the storage account. +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountSku { + /// Name - The SKU name. Required for account creation; optional for update. Possible values include: 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS'. For the full list of allowed options, see: https://docs.microsoft.com/en-us/rest/api/storagerp/storageaccounts/create#skuname + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, +} + +/// StorageAccountSku the SKU of the storage account. +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum StorageAccountSkuName { + #[serde(rename = "Premium_LRS")] + PremiumLrs, + #[serde(rename = "Premium_ZRS")] + PremiumZrs, + #[serde(rename = "Standard_GRS")] + StandardGrs, + #[serde(rename = "Standard_GZRS")] + StandardGzrs, + #[serde(rename = "Standard_LRS")] + StandardLrs, + #[serde(rename = "Standard_RAGRS")] + StandardRagrs, + #[serde(rename = "Standard_RAGZRS")] + StandardRagzrs, + #[serde(rename = "Standard_ZRS")] + StandardZrs, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct StorageAccountStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum StorageAccountStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/virtualnetworks.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/virtualnetworks.rs new file mode 100644 index 000000000..e9b8a6123 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha1/virtualnetworks.rs @@ -0,0 +1,76 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha1/virtualnetworks.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// VirtualNetworkSpec defines the desired state of VirtualNetwork +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha1", kind = "VirtualNetwork", plural = "virtualnetworks")] +#[kube(namespaced)] +#[kube(status = "VirtualNetworkStatus")] +#[kube(schema = "disabled")] +pub struct VirtualNetworkSpec { + #[serde(rename = "addressSpace")] + pub address_space: String, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub subnets: Option>, +} + +/// VNetSubnets defines subnets for this vnet +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct VirtualNetworkSubnets { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serviceEndpoints")] + pub service_endpoints: Option>, + #[serde(rename = "subnetAddressPrefix")] + pub subnet_address_prefix: String, + /// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "subnetName")] + pub subnet_name: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct VirtualNetworkStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum VirtualNetworkStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/blobcontainers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/blobcontainers.rs new file mode 100644 index 000000000..392bb95cc --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/blobcontainers.rs @@ -0,0 +1,65 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/blobcontainers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// BlobContainerSpec defines the desired state of BlobContainer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha2", kind = "BlobContainer", plural = "blobcontainers")] +#[kube(namespaced)] +#[kube(status = "BlobContainerStatus")] +#[kube(schema = "disabled")] +pub struct BlobContainerSpec { + /// PublicAccess enumerates the values for public access. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "accessLevel")] + pub access_level: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "accountName")] + pub account_name: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct BlobContainerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum BlobContainerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mod.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mod.rs new file mode 100644 index 000000000..644d85fc1 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mod.rs @@ -0,0 +1,5 @@ +pub mod blobcontainers; +pub mod mysqlaadusers; +pub mod mysqlservers; +pub mod mysqlusers; +pub mod postgresqlservers; diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlaadusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlaadusers.rs new file mode 100644 index 000000000..fa82e62b4 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlaadusers.rs @@ -0,0 +1,70 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlaadusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; +use std::collections::BTreeMap; + +/// MySQLAADUserSpec defines the desired state of MySQLAADUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha2", kind = "MySQLAADUser", plural = "mysqlaadusers")] +#[kube(namespaced)] +#[kube(status = "MySQLAADUserStatus")] +#[kube(schema = "disabled")] +pub struct MySQLAADUserSpec { + /// AAD ID is the ID of the user in Azure Active Directory. When creating a user for a managed identity this must be the client id (sometimes called app id) of the managed identity. When creating a user for a "normal" (non-managed identity) user or group, this is the OID of the user or group. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "aadId")] + pub aad_id: Option, + /// The database-level roles assigned to the user (keyed by database name). + #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseRoles")] + pub database_roles: Option>, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// The server-level roles assigned to the user. + pub roles: Vec, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLAADUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLAADUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlservers.rs new file mode 100644 index 000000000..c77f8d3ba --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlservers.rs @@ -0,0 +1,138 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlservers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// MySQLServerSpec defines the desired state of MySQLServer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha2", kind = "MySQLServer", plural = "mysqlservers")] +#[kube(namespaced)] +#[kube(status = "MySQLServerStatus")] +#[kube(schema = "disabled")] +pub struct MySQLServerSpec { + /// AdminSecret is the name of a Kubernetes secret containing the username and password of the MySQLServer administrator account. When specified, the `username` and `password` fields of this secret will be included in the generated secret associated with this MySQLServer. If AdminSecret is specified but a secret with the given name is not found in the same namespace as the MySQLServer, then reconciliation will block until the secret is created. If this is not specified, a username and password will be automatically generated. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecret")] + pub admin_secret: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "createMode")] + pub create_mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "replicaProperties")] + pub replica_properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// ServerVersion enumerates the values for server version. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverVersion")] + pub server_version: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sslEnforcement")] + pub ssl_enforcement: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageProfile")] + pub storage_profile: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerReplicaProperties { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceServerId")] + pub source_server_id: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerSku { + /// Capacity - The scale up/out capacity, representing server's compute units. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + /// Family - The family of hardware. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub family: Option, + /// Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Size - The size code, to be interpreted by resource as appropriate. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub size: Option, + /// Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerSkuTier { + Basic, + GeneralPurpose, + MemoryOptimized, +} + +/// MySQLServerSpec defines the desired state of MySQLServer +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerSslEnforcement { + Enabled, + Disabled, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerStorageProfile { + /// BackupRetentionDays - Backup retention days for the server. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupRetentionDays")] + pub backup_retention_days: Option, + /// GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled' + #[serde(default, skip_serializing_if = "Option::is_none", rename = "geoRedundantBackup")] + pub geo_redundant_backup: Option, + /// StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled' + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageAutogrow")] + pub storage_autogrow: Option, + /// StorageMB - Max storage allowed for a server. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageMB")] + pub storage_mb: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerStorageProfileStorageAutogrow { + Enabled, + Disabled, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLServerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLServerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlusers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlusers.rs new file mode 100644 index 000000000..25809e2e4 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/mysqlusers.rs @@ -0,0 +1,75 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/mysqlusers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; +use std::collections::BTreeMap; + +/// MySQLUserSpec defines the desired state of MySqlUser +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha2", kind = "MySQLUser", plural = "mysqlusers")] +#[kube(namespaced)] +#[kube(status = "MySQLUserStatus")] +#[kube(schema = "disabled")] +pub struct MySQLUserSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecret")] + pub admin_secret: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "adminSecretKeyVault")] + pub admin_secret_key_vault: Option, + /// The database-level roles assigned to the user (keyed by database name). + #[serde(default, skip_serializing_if = "Option::is_none", rename = "databaseRoles")] + pub database_roles: Option>, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// The server-level roles assigned ot the user. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub roles: Option>, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub username: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct MySQLUserStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum MySQLUserStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/postgresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/postgresqlservers.rs new file mode 100644 index 000000000..b090d3a07 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1alpha2/postgresqlservers.rs @@ -0,0 +1,135 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1alpha2/postgresqlservers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// PostgreSQLServerSpec defines the desired state of PostgreSQLServer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1alpha2", kind = "PostgreSQLServer", plural = "postgresqlservers")] +#[kube(namespaced)] +#[kube(status = "PostgreSQLServerStatus")] +#[kube(schema = "disabled")] +pub struct PostgreSQLServerSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "createMode")] + pub create_mode: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "replicaProperties")] + pub replica_properties: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + /// ServerVersion enumerates the values for server version. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "serverVersion")] + pub server_version: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sslEnforcement")] + pub ssl_enforcement: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageProfile")] + pub storage_profile: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerReplicaProperties { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "sourceServerId")] + pub source_server_id: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerSku { + /// Capacity - The scale up/out capacity, representing server's compute units. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + /// Family - The family of hardware. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub family: Option, + /// Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub name: Option, + /// Size - The size code, to be interpreted by resource as appropriate. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub size: Option, + /// Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized' + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLServerSkuTier { + Basic, + GeneralPurpose, + MemoryOptimized, +} + +/// PostgreSQLServerSpec defines the desired state of PostgreSQLServer +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLServerSslEnforcement { + Enabled, + Disabled, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerStorageProfile { + /// BackupRetentionDays - Backup retention days for the server. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "backupRetentionDays")] + pub backup_retention_days: Option, + /// GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled' + #[serde(default, skip_serializing_if = "Option::is_none", rename = "geoRedundantBackup")] + pub geo_redundant_backup: Option, + /// StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled' + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageAutogrow")] + pub storage_autogrow: Option, + /// StorageMB - Max storage allowed for a server. + #[serde(default, skip_serializing_if = "Option::is_none", rename = "storageMB")] + pub storage_mb: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLServerStorageProfileStorageAutogrow { + Enabled, + Disabled, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct PostgreSQLServerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum PostgreSQLServerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqldatabases.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqldatabases.rs new file mode 100644 index 000000000..697947853 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqldatabases.rs @@ -0,0 +1,107 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqldatabases.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; +use k8s_openapi::apimachinery::pkg::util::intstr::IntOrString; + +/// AzureSqlDatabaseSpec defines the desired state of AzureSqlDatabase +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1beta1", kind = "AzureSqlDatabase", plural = "azuresqldatabases")] +#[kube(namespaced)] +#[kube(status = "AzureSqlDatabaseStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlDatabaseSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "dbName")] + pub db_name: Option, + pub edition: i64, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "elasticPoolId")] + pub elastic_pool_id: Option, + pub location: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "maxSize")] + pub max_size: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "monthlyRetention")] + pub monthly_retention: Option, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "shortTermRetentionPolicy")] + pub short_term_retention_policy: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub sku: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionId")] + pub subscription_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "weekOfYear")] + pub week_of_year: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "weeklyRetention")] + pub weekly_retention: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "yearlyRetention")] + pub yearly_retention: Option, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlDatabaseShortTermRetentionPolicy { + /// RetentionDays is the backup retention period in days. This is how many days Point-in-Time Restore will be supported. + #[serde(rename = "retentionDays")] + pub retention_days: i32, +} + +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlDatabaseSku { + /// Capacity - Capacity of the particular SKU. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub capacity: Option, + /// Family - If the service has different generations of hardware, for the same SKU, then that can be captured here. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub family: Option, + /// Name - The name of the SKU, typically, a letter + Number code, e.g. P3. + pub name: String, + /// Size - Size of the particular SKU + #[serde(default, skip_serializing_if = "Option::is_none")] + pub size: Option, + /// optional Tier - The tier or edition of the particular SKU, e.g. Basic, Premium. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub tier: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlDatabaseStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlDatabaseStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfailovergroups.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfailovergroups.rs new file mode 100644 index 000000000..f1f130173 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfailovergroups.rs @@ -0,0 +1,86 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfailovergroups.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlFailoverGroupSpec defines the desired state of AzureSqlFailoverGroup +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1beta1", kind = "AzureSqlFailoverGroup", plural = "azuresqlfailovergroups")] +#[kube(namespaced)] +#[kube(status = "AzureSqlFailoverGroupStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlFailoverGroupSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "SecondaryServerSubscriptionId")] + pub secondary_server_subscription_id: Option, + #[serde(rename = "databaseList")] + pub database_list: Vec, + /// TODO: This field should be a ptr as it must not be specified if the failover policy is Manual, TODO: but is required when the policy is Automatic + #[serde(rename = "failoverGracePeriod")] + pub failover_grace_period: i32, + /// ReadWriteEndpointFailoverPolicy - wraps https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#ReadWriteEndpointFailoverPolicy + #[serde(rename = "failoverPolicy")] + pub failover_policy: AzureSqlFailoverGroupFailoverPolicy, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + /// Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(rename = "secondaryServer")] + pub secondary_server: String, + #[serde(rename = "secondaryServerResourceGroup")] + pub secondary_server_resource_group: String, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionId")] + pub subscription_id: Option, +} + +/// AzureSqlFailoverGroupSpec defines the desired state of AzureSqlFailoverGroup +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlFailoverGroupFailoverPolicy { + Automatic, + Manual, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlFailoverGroupStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlFailoverGroupStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfirewallrules.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfirewallrules.rs new file mode 100644 index 000000000..22e6b19d0 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlfirewallrules.rs @@ -0,0 +1,66 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlfirewallrules.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlFirewallRuleSpec defines the desired state of AzureSqlFirewallRule +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1beta1", kind = "AzureSqlFirewallRule", plural = "azuresqlfirewallrules")] +#[kube(namespaced)] +#[kube(status = "AzureSqlFirewallRuleStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlFirewallRuleSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "endIpAddress")] + pub end_ip_address: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + #[serde(rename = "resourceGroup")] + pub resource_group: String, + pub server: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "startIpAddress")] + pub start_ip_address: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionID")] + pub subscription_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlFirewallRuleStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlFirewallRuleStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlservers.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlservers.rs new file mode 100644 index 000000000..0e47af302 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/azuresqlservers.rs @@ -0,0 +1,64 @@ +// WARNING: generated by kopium - manual changes will be overwritten +// kopium command: kopium --docs --filename ./crd-catalog/Azure/azure-service-operator/azure.microsoft.com/v1beta1/azuresqlservers.yaml +// kopium version: 0.16.1 + +use kube::CustomResource; +use serde::{Serialize, Deserialize}; + +/// AzureSqlServerSpec defines the desired state of AzureSqlServer +#[derive(CustomResource, Serialize, Deserialize, Clone, Debug)] +#[kube(group = "azure.microsoft.com", version = "v1beta1", kind = "AzureSqlServer", plural = "azuresqlservers")] +#[kube(namespaced)] +#[kube(status = "AzureSqlServerStatus")] +#[kube(schema = "disabled")] +pub struct AzureSqlServerSpec { + #[serde(default, skip_serializing_if = "Option::is_none", rename = "keyVaultToStoreSecrets")] + pub key_vault_to_store_secrets: Option, + /// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file + pub location: String, + #[serde(rename = "resourceGroup")] + pub resource_group: String, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "subscriptionId")] + pub subscription_id: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub struct AzureSqlServerStatus { + #[serde(default, skip_serializing_if = "Option::is_none")] + pub completed: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "containsUpdate")] + pub contains_update: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "failedProvisioning")] + pub failed_provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "flattenedSecrets")] + pub flattened_secrets: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub message: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub output: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrl")] + pub polling_url: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "pollingUrlKind")] + pub polling_url_kind: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioned: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub provisioning: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub requested: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "resourceId")] + pub resource_id: Option, + #[serde(default, skip_serializing_if = "Option::is_none", rename = "specHash")] + pub spec_hash: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub state: Option, +} + +/// ASOStatus (AzureServiceOperatorsStatus) defines the observed state of resource actions +#[derive(Serialize, Deserialize, Clone, Debug)] +pub enum AzureSqlServerStatusPollingUrlKind { + CreateOrUpdate, + Delete, +} + diff --git a/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/mod.rs b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/mod.rs new file mode 100644 index 000000000..dc03bc4e3 --- /dev/null +++ b/kube-custom-resources-rs/src/azure_microsoft_com_v1beta1/mod.rs @@ -0,0 +1,4 @@ +pub mod azuresqldatabases; +pub mod azuresqlfailovergroups; +pub mod azuresqlfirewallrules; +pub mod azuresqlservers; diff --git a/kube-custom-resources-rs/src/lib.rs b/kube-custom-resources-rs/src/lib.rs index e5799d71f..712999165 100644 --- a/kube-custom-resources-rs/src/lib.rs +++ b/kube-custom-resources-rs/src/lib.rs @@ -62,6 +62,12 @@ pub mod autoscaling_k8s_io_v1; pub mod autoscaling_k8s_io_v1beta2; #[cfg(feature = "autoscaling_karmada_io_v1alpha1")] pub mod autoscaling_karmada_io_v1alpha1; +#[cfg(feature = "azure_microsoft_com_v1alpha1")] +pub mod azure_microsoft_com_v1alpha1; +#[cfg(feature = "azure_microsoft_com_v1alpha2")] +pub mod azure_microsoft_com_v1alpha2; +#[cfg(feature = "azure_microsoft_com_v1beta1")] +pub mod azure_microsoft_com_v1beta1; #[cfg(feature = "b3scale_infra_run_v1")] pub mod b3scale_infra_run_v1; #[cfg(feature = "batch_volcano_sh_v1alpha1")] From 6811c80b690d6a469db1d5f4d8241fe199187e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Sat, 4 Nov 2023 15:52:46 +0100 Subject: [PATCH 2/2] only checked changed CRDs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- .github/workflows/verify.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 2f9344294..b8a96b70d 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -10,20 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Rust uses: dtolnay/rust-toolchain@stable - name: Cache Dependencies uses: Swatinem/rust-cache@v2 - name: Check Code Generator run: cargo check --package code-generator --locked - - name: Check all CRDs + - name: Check changed CRDs run: | - for mld in ./kube-custom-resources-rs/src/*; do - if [ -f "${mld}/mod.rs" ]; then - module=$(basename "${mld}") - echo "testing ${module}" - cargo check --package kube-custom-resources-rs --features "${module}" --locked - fi + for module in $(git diff --name-only origin/main -- ./kube-custom-resources-rs/src | grep --invert-match lib.rs | xargs --no-run-if-empty -I{} dirname {} | sort --unique | xargs --no-run-if-empty -I{} basename {}); do + echo "testing ${module}" + cargo check --package kube-custom-resources-rs --features "${module}" --locked done env: RUSTFLAGS: "-A warnings"