diff --git a/.github/workflows/test-release.yaml b/.github/workflows/test-release.yaml index 88d66a5..b20bc53 100644 --- a/.github/workflows/test-release.yaml +++ b/.github/workflows/test-release.yaml @@ -1,9 +1,6 @@ name: create-tag-release on: push jobs: - helm-unittest: - uses: stacc/platform-github-actions/.github/workflows/helm-unittest.yaml@main - create-tag-release: - if: github.ref == 'refs/heads/main' - uses: stacc/platform-github-actions/.github/workflows/tag-release.yaml@main - needs: helm-unittest + create-tag-release: + if: github.ref == 'refs/heads/main' + uses: stacc/platform-github-actions/.github/workflows/tag-release.yaml@main diff --git a/.gitignore b/.gitignore index 4aad711..53118fd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ rendered charts/ rendered.yaml tmp -Chart.lock \ No newline at end of file +Chart.lock +.up diff --git a/Chart.yaml b/Chart.yaml deleted file mode 100644 index 7a0d76a..0000000 --- a/Chart.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: v2 -name: chartName -version: 0.0.1 -description: Helm Chart for chartName -dependencies: -- name: chartName - version: 0.0.1 - repository: https://charts.chartName.io diff --git a/README.md b/README.md index c76d3d4..cb2f17b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -# helm-chart -git repository template for helm charts +KCL modules for the plaftorm infra team diff --git a/Taskfile.yml b/Taskfile.yml index 3c8c64f..74d438c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,17 +1,12 @@ # https://taskfile.dev -version: '3' +version: "3" env: CHART_DIR: "." tasks: - build: + generate-upbound-models: cmds: - - helm dependency build $CHART_DIR - test: - cmds: - - helm unittest $CHART_DIR - template: - cmds: - - helm template ${CHART_DIR} > rendered.yaml + - up dependency update-cache --project-file="project.yaml" + - cp -r .up/kcl/models/* . diff --git a/io/upbound/azure/keyvault/v1beta1/accesspolicy.k b/io/upbound/azure/keyvault/v1beta1/accesspolicy.k new file mode 100644 index 0000000..4efd5e8 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/accesspolicy.k @@ -0,0 +1,651 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema AccessPolicy: + r""" + AccessPolicy is the Schema for the AccessPolicys API. Manages a Key Vault Access Policy. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "AccessPolicy", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1AccessPolicySpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1AccessPolicyStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "AccessPolicy" = "AccessPolicy" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1AccessPolicySpec + + status?: KeyvaultAzureUpboundIoV1beta1AccessPolicyStatus + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpec: + r""" + AccessPolicySpec defines the desired state of AccessPolicy + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProvider: + r""" + keyvault azure upbound io v1beta1 access policy spec for provider + + Attributes + ---------- + applicationId : str, default is Undefined, optional + The object ID of an Application in Azure Active Directory. Changing this forces a new resource to be created. + certificatePermissions : [str], default is Undefined, optional + List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update. + keyPermissions : [str], default is Undefined, optional + List of key permissions, must be one or more from the following: Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy. + keyVaultId : str, default is Undefined, optional + Specifies the id of the Key Vault resource. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + objectId : str, default is Undefined, optional + The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID of a service principal can be fetched from azuread_service_principal.object_id. The object ID must be unique for the list of access policies. Changing this forces a new resource to be created. + secretPermissions : [str], default is Undefined, optional + List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set. + storagePermissions : [str], default is Undefined, optional + List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. Changing this forces a new resource to be created. + """ + + + applicationId?: str + + certificatePermissions?: [str] + + keyPermissions?: [str] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDSelector + + objectId?: str + + secretPermissions?: [str] + + storagePermissions?: [str] + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + applicationId : str, default is Undefined, optional + The object ID of an Application in Azure Active Directory. Changing this forces a new resource to be created. + certificatePermissions : [str], default is Undefined, optional + List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update. + keyPermissions : [str], default is Undefined, optional + List of key permissions, must be one or more from the following: Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy. + keyVaultId : str, default is Undefined, optional + Specifies the id of the Key Vault resource. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + objectId : str, default is Undefined, optional + The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID of a service principal can be fetched from azuread_service_principal.object_id. The object ID must be unique for the list of access policies. Changing this forces a new resource to be created. + secretPermissions : [str], default is Undefined, optional + List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set. + storagePermissions : [str], default is Undefined, optional + List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. Changing this forces a new resource to be created. + """ + + + applicationId?: str + + certificatePermissions?: [str] + + keyPermissions?: [str] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDSelector + + objectId?: str + + secretPermissions?: [str] + + storagePermissions?: [str] + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicySpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicyStatus: + r""" + AccessPolicyStatus defines the observed state of AccessPolicy. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1AccessPolicyStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1AccessPolicyStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1AccessPolicyStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1AccessPolicyStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicyStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 access policy status at provider + + Attributes + ---------- + applicationId : str, default is Undefined, optional + The object ID of an Application in Azure Active Directory. Changing this forces a new resource to be created. + certificatePermissions : [str], default is Undefined, optional + List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update. + id : str, default is Undefined, optional + Key Vault Access Policy ID. + keyPermissions : [str], default is Undefined, optional + List of key permissions, must be one or more from the following: Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy. + keyVaultId : str, default is Undefined, optional + Specifies the id of the Key Vault resource. Changing this forces a new resource to be created. + objectId : str, default is Undefined, optional + The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID of a service principal can be fetched from azuread_service_principal.object_id. The object ID must be unique for the list of access policies. Changing this forces a new resource to be created. + secretPermissions : [str], default is Undefined, optional + List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set. + storagePermissions : [str], default is Undefined, optional + List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. Changing this forces a new resource to be created. + """ + + + applicationId?: str + + certificatePermissions?: [str] + + id?: str + + keyPermissions?: [str] + + keyVaultId?: str + + objectId?: str + + secretPermissions?: [str] + + storagePermissions?: [str] + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1AccessPolicyStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/certificate.k b/io/upbound/azure/keyvault/v1beta1/certificate.k new file mode 100644 index 0000000..76ce405 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/certificate.k @@ -0,0 +1,1383 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Certificate: + r""" + Certificate is the Schema for the Certificates API. Manages a Key Vault Certificate. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "Certificate", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1CertificateSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1CertificateStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "Certificate" = "Certificate" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1CertificateSpec + + status?: KeyvaultAzureUpboundIoV1beta1CertificateStatus + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpec: + r""" + CertificateSpec defines the desired state of Certificate + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1CertificateSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1CertificateSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProvider: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider + + Attributes + ---------- + certificate : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0], default is Undefined, optional + A certificate block as defined below, used to Import an existing certificate. Changing this will create a new version of the Key Vault Certificate. + certificatePolicy : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0], default is Undefined, optional + A certificate_policy block as defined below. Changing this (except the lifetime_action field) will create a new version of the Key Vault Certificate. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + certificate?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0] + + certificatePolicy?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDSelector + + name?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate items0 + + Attributes + ---------- + contentsSecretRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0ContentsSecretRef, default is Undefined, required + contents secret ref + passwordSecretRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0PasswordSecretRef, default is Undefined, optional + password secret ref + """ + + + contentsSecretRef: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0ContentsSecretRef + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0PasswordSecretRef + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0ContentsSecretRef: + r""" + The base64-encoded certificate contents. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificateItems0PasswordSecretRef: + r""" + The password associated with the certificate. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 + + Attributes + ---------- + issuerParameters : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0IssuerParametersItems0], default is Undefined, optional + A issuer_parameters block as defined below. + keyProperties : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0KeyPropertiesItems0], default is Undefined, optional + A key_properties block as defined below. + lifetimeAction : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0], default is Undefined, optional + A lifetime_action block as defined below. + secretProperties : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0SecretPropertiesItems0], default is Undefined, optional + A secret_properties block as defined below. + x509CertificateProperties : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0X509CertificatePropertiesItems0], default is Undefined, optional + A x509_certificate_properties block as defined below. Required when certificate block is not specified. + """ + + + issuerParameters?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0IssuerParametersItems0] + + keyProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0KeyPropertiesItems0] + + lifetimeAction?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0] + + secretProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0SecretPropertiesItems0] + + x509CertificateProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0X509CertificatePropertiesItems0] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0IssuerParametersItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 issuer parameters items0 + + Attributes + ---------- + name : str, default is Undefined, optional + The name of the Certificate Issuer. Possible values include Self (for self-signed certificate), or Unknown (for a certificate issuing authority like Let's Encrypt and Azure direct supported ones). + """ + + + name?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0KeyPropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 key properties items0 + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. + exportable : bool, default is Undefined, optional + Is this certificate exportable? + keySize : float, default is Undefined, optional + The size of the key used in the certificate. Possible values include 2048, 3072, and 4096 for RSA keys, or 256, 384, and 521 for EC keys. This property is required when using RSA keys. + keyType : str, default is Undefined, optional + Specifies the type of key. Possible values are EC, EC-HSM, RSA, RSA-HSM and oct. + reuseKey : bool, default is Undefined, optional + Is the key reusable? + """ + + + curve?: str + + exportable?: bool + + keySize?: float + + keyType?: str + + reuseKey?: bool + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 lifetime action items0 + + Attributes + ---------- + action : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0], default is Undefined, optional + A action block as defined below. + trigger : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0], default is Undefined, optional + A trigger block as defined below. + """ + + + action?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0] + + trigger?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 lifetime action items0 action items0 + + Attributes + ---------- + actionType : str, default is Undefined, optional + The Type of action to be performed when the lifetime trigger is triggerec. Possible values include AutoRenew and EmailContacts. + """ + + + actionType?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 lifetime action items0 trigger items0 + + Attributes + ---------- + daysBeforeExpiry : float, default is Undefined, optional + The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with lifetime_percentage. + lifetimePercentage : float, default is Undefined, optional + The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with days_before_expiry. + """ + + + daysBeforeExpiry?: float + + lifetimePercentage?: float + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0SecretPropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 secret properties items0 + + Attributes + ---------- + contentType : str, default is Undefined, optional + The Content-Type of the Certificate, such as application/x-pkcs12 for a PFX or application/x-pem-file for a PEM. + """ + + + contentType?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0X509CertificatePropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 x509 certificate properties items0 + + Attributes + ---------- + extendedKeyUsage : [str], default is Undefined, optional + A list of Extended/Enhanced Key Usages. + keyUsage : [str], default is Undefined, optional + A list of uses associated with this Key. Possible values include cRLSign, dataEncipherment, decipherOnly, digitalSignature, encipherOnly, keyAgreement, keyCertSign, keyEncipherment and nonRepudiation and are case-sensitive. + subject : str, default is Undefined, optional + The Certificate's Subject. + subjectAlternativeNames : [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0], default is Undefined, optional + A subject_alternative_names block as defined below. + validityInMonths : float, default is Undefined, optional + The Certificates Validity Period in Months. + """ + + + extendedKeyUsage?: [str] + + keyUsage?: [str] + + subject?: str + + subjectAlternativeNames?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0] + + validityInMonths?: float + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec for provider certificate policy items0 x509 certificate properties items0 subject alternative names items0 + + Attributes + ---------- + dnsNames : [str], default is Undefined, optional + A list of alternative DNS names (FQDNs) identified by the Certificate. + emails : [str], default is Undefined, optional + A list of email addresses identified by this Certificate. + upns : [str], default is Undefined, optional + A list of User Principal Names identified by the Certificate. + """ + + + dnsNames?: [str] + + emails?: [str] + + upns?: [str] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + certificate : [any], default is Undefined, optional + A certificate block as defined below, used to Import an existing certificate. Changing this will create a new version of the Key Vault Certificate. + certificatePolicy : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0], default is Undefined, optional + A certificate_policy block as defined below. Changing this (except the lifetime_action field) will create a new version of the Key Vault Certificate. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + certificate?: [any] + + certificatePolicy?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDSelector + + name?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 + + Attributes + ---------- + issuerParameters : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0IssuerParametersItems0], default is Undefined, optional + A issuer_parameters block as defined below. + keyProperties : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0KeyPropertiesItems0], default is Undefined, optional + A key_properties block as defined below. + lifetimeAction : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0], default is Undefined, optional + A lifetime_action block as defined below. + secretProperties : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0SecretPropertiesItems0], default is Undefined, optional + A secret_properties block as defined below. + x509CertificateProperties : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0X509CertificatePropertiesItems0], default is Undefined, optional + A x509_certificate_properties block as defined below. Required when certificate block is not specified. + """ + + + issuerParameters?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0IssuerParametersItems0] + + keyProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0KeyPropertiesItems0] + + lifetimeAction?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0] + + secretProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0SecretPropertiesItems0] + + x509CertificateProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0X509CertificatePropertiesItems0] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0IssuerParametersItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 issuer parameters items0 + + Attributes + ---------- + name : str, default is Undefined, optional + The name of the Certificate Issuer. Possible values include Self (for self-signed certificate), or Unknown (for a certificate issuing authority like Let's Encrypt and Azure direct supported ones). + """ + + + name?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0KeyPropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 key properties items0 + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. + exportable : bool, default is Undefined, optional + Is this certificate exportable? + keySize : float, default is Undefined, optional + The size of the key used in the certificate. Possible values include 2048, 3072, and 4096 for RSA keys, or 256, 384, and 521 for EC keys. This property is required when using RSA keys. + keyType : str, default is Undefined, optional + Specifies the type of key. Possible values are EC, EC-HSM, RSA, RSA-HSM and oct. + reuseKey : bool, default is Undefined, optional + Is the key reusable? + """ + + + curve?: str + + exportable?: bool + + keySize?: float + + keyType?: str + + reuseKey?: bool + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 lifetime action items0 + + Attributes + ---------- + action : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0], default is Undefined, optional + A action block as defined below. + trigger : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0], default is Undefined, optional + A trigger block as defined below. + """ + + + action?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0] + + trigger?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 lifetime action items0 action items0 + + Attributes + ---------- + actionType : str, default is Undefined, optional + The Type of action to be performed when the lifetime trigger is triggerec. Possible values include AutoRenew and EmailContacts. + """ + + + actionType?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 lifetime action items0 trigger items0 + + Attributes + ---------- + daysBeforeExpiry : float, default is Undefined, optional + The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with lifetime_percentage. + lifetimePercentage : float, default is Undefined, optional + The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with days_before_expiry. + """ + + + daysBeforeExpiry?: float + + lifetimePercentage?: float + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0SecretPropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 secret properties items0 + + Attributes + ---------- + contentType : str, default is Undefined, optional + The Content-Type of the Certificate, such as application/x-pkcs12 for a PFX or application/x-pem-file for a PEM. + """ + + + contentType?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0X509CertificatePropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 x509 certificate properties items0 + + Attributes + ---------- + extendedKeyUsage : [str], default is Undefined, optional + A list of Extended/Enhanced Key Usages. + keyUsage : [str], default is Undefined, optional + A list of uses associated with this Key. Possible values include cRLSign, dataEncipherment, decipherOnly, digitalSignature, encipherOnly, keyAgreement, keyCertSign, keyEncipherment and nonRepudiation and are case-sensitive. + subject : str, default is Undefined, optional + The Certificate's Subject. + subjectAlternativeNames : [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0], default is Undefined, optional + A subject_alternative_names block as defined below. + validityInMonths : float, default is Undefined, optional + The Certificates Validity Period in Months. + """ + + + extendedKeyUsage?: [str] + + keyUsage?: [str] + + subject?: str + + subjectAlternativeNames?: [KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0] + + validityInMonths?: float + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0: + r""" + keyvault azure upbound io v1beta1 certificate spec init provider certificate policy items0 x509 certificate properties items0 subject alternative names items0 + + Attributes + ---------- + dnsNames : [str], default is Undefined, optional + A list of alternative DNS names (FQDNs) identified by the Certificate. + emails : [str], default is Undefined, optional + A list of email addresses identified by this Certificate. + upns : [str], default is Undefined, optional + A list of User Principal Names identified by the Certificate. + """ + + + dnsNames?: [str] + + emails?: [str] + + upns?: [str] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatus: + r""" + CertificateStatus defines the observed state of Certificate. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1CertificateStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 certificate status at provider + + Attributes + ---------- + certificate : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0], default is Undefined, optional + A certificate block as defined below, used to Import an existing certificate. Changing this will create a new version of the Key Vault Certificate. + certificateAttribute : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateAttributeItems0], default is Undefined, optional + A certificate_attribute block as defined below. + certificateData : str, default is Undefined, optional + The raw Key Vault Certificate data represented as a hexadecimal string. + certificateDataBase64 : str, default is Undefined, optional + The Base64 encoded Key Vault Certificate data. + certificatePolicy : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0], default is Undefined, optional + A certificate_policy block as defined below. Changing this (except the lifetime_action field) will create a new version of the Key Vault Certificate. + id : str, default is Undefined, optional + The Key Vault Certificate ID. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. + name : str, default is Undefined, optional + Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created. + resourceManagerId : str, default is Undefined, optional + The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services. + resourceManagerVersionlessId : str, default is Undefined, optional + The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated. + secretId : str, default is Undefined, optional + The ID of the associated Key Vault Secret. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + thumbprint : str, default is Undefined, optional + The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string. + version : str, default is Undefined, optional + The current version of the Key Vault Certificate. + versionlessId : str, default is Undefined, optional + The Base ID of the Key Vault Certificate. + versionlessSecretId : str, default is Undefined, optional + The Base ID of the Key Vault Secret. + """ + + + certificate?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0] + + certificateAttribute?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateAttributeItems0] + + certificateData?: str + + certificateDataBase64?: str + + certificatePolicy?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0] + + id?: str + + keyVaultId?: str + + name?: str + + resourceManagerId?: str + + resourceManagerVersionlessId?: str + + secretId?: str + + tags?: {str:str} + + thumbprint?: str + + version?: str + + versionlessId?: str + + versionlessSecretId?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateAttributeItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate attribute items0 + + Attributes + ---------- + created : str, default is Undefined, optional + The create time of the Key Vault Certificate. + enabled : bool, default is Undefined, optional + whether the Key Vault Certificate is enabled. + expires : str, default is Undefined, optional + The expires time of the Key Vault Certificate. + notBefore : str, default is Undefined, optional + The not before valid time of the Key Vault Certificate. + recoveryLevel : str, default is Undefined, optional + The deletion recovery level of the Key Vault Certificate. + updated : str, default is Undefined, optional + The recent update time of the Key Vault Certificate. + """ + + + created?: str + + enabled?: bool + + expires?: str + + notBefore?: str + + recoveryLevel?: str + + updated?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate items0 + + Attributes + ---------- + contentsSecretRef : KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0ContentsSecretRef, default is Undefined, required + contents secret ref + passwordSecretRef : KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0PasswordSecretRef, default is Undefined, optional + password secret ref + """ + + + contentsSecretRef: KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0ContentsSecretRef + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0PasswordSecretRef + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0ContentsSecretRef: + r""" + The base64-encoded certificate contents. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificateItems0PasswordSecretRef: + r""" + The password associated with the certificate. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 + + Attributes + ---------- + issuerParameters : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0IssuerParametersItems0], default is Undefined, optional + A issuer_parameters block as defined below. + keyProperties : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0KeyPropertiesItems0], default is Undefined, optional + A key_properties block as defined below. + lifetimeAction : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0], default is Undefined, optional + A lifetime_action block as defined below. + secretProperties : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0SecretPropertiesItems0], default is Undefined, optional + A secret_properties block as defined below. + x509CertificateProperties : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0X509CertificatePropertiesItems0], default is Undefined, optional + A x509_certificate_properties block as defined below. Required when certificate block is not specified. + """ + + + issuerParameters?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0IssuerParametersItems0] + + keyProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0KeyPropertiesItems0] + + lifetimeAction?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0] + + secretProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0SecretPropertiesItems0] + + x509CertificateProperties?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0X509CertificatePropertiesItems0] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0IssuerParametersItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 issuer parameters items0 + + Attributes + ---------- + name : str, default is Undefined, optional + The name of the Certificate Issuer. Possible values include Self (for self-signed certificate), or Unknown (for a certificate issuing authority like Let's Encrypt and Azure direct supported ones). + """ + + + name?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0KeyPropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 key properties items0 + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. + exportable : bool, default is Undefined, optional + Is this certificate exportable? + keySize : float, default is Undefined, optional + The size of the key used in the certificate. Possible values include 2048, 3072, and 4096 for RSA keys, or 256, 384, and 521 for EC keys. This property is required when using RSA keys. + keyType : str, default is Undefined, optional + Specifies the type of key. Possible values are EC, EC-HSM, RSA, RSA-HSM and oct. + reuseKey : bool, default is Undefined, optional + Is the key reusable? + """ + + + curve?: str + + exportable?: bool + + keySize?: float + + keyType?: str + + reuseKey?: bool + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 lifetime action items0 + + Attributes + ---------- + action : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0], default is Undefined, optional + A action block as defined below. + trigger : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0], default is Undefined, optional + A trigger block as defined below. + """ + + + action?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0] + + trigger?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0ActionItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 lifetime action items0 action items0 + + Attributes + ---------- + actionType : str, default is Undefined, optional + The Type of action to be performed when the lifetime trigger is triggerec. Possible values include AutoRenew and EmailContacts. + """ + + + actionType?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0LifetimeActionItems0TriggerItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 lifetime action items0 trigger items0 + + Attributes + ---------- + daysBeforeExpiry : float, default is Undefined, optional + The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with lifetime_percentage. + lifetimePercentage : float, default is Undefined, optional + The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with days_before_expiry. + """ + + + daysBeforeExpiry?: float + + lifetimePercentage?: float + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0SecretPropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 secret properties items0 + + Attributes + ---------- + contentType : str, default is Undefined, optional + The Content-Type of the Certificate, such as application/x-pkcs12 for a PFX or application/x-pem-file for a PEM. + """ + + + contentType?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0X509CertificatePropertiesItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 x509 certificate properties items0 + + Attributes + ---------- + extendedKeyUsage : [str], default is Undefined, optional + A list of Extended/Enhanced Key Usages. + keyUsage : [str], default is Undefined, optional + A list of uses associated with this Key. Possible values include cRLSign, dataEncipherment, decipherOnly, digitalSignature, encipherOnly, keyAgreement, keyCertSign, keyEncipherment and nonRepudiation and are case-sensitive. + subject : str, default is Undefined, optional + The Certificate's Subject. + subjectAlternativeNames : [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0], default is Undefined, optional + A subject_alternative_names block as defined below. + validityInMonths : float, default is Undefined, optional + The Certificates Validity Period in Months. + """ + + + extendedKeyUsage?: [str] + + keyUsage?: [str] + + subject?: str + + subjectAlternativeNames?: [KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0] + + validityInMonths?: float + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusAtProviderCertificatePolicyItems0X509CertificatePropertiesItems0SubjectAlternativeNamesItems0: + r""" + keyvault azure upbound io v1beta1 certificate status at provider certificate policy items0 x509 certificate properties items0 subject alternative names items0 + + Attributes + ---------- + dnsNames : [str], default is Undefined, optional + A list of alternative DNS names (FQDNs) identified by the Certificate. + emails : [str], default is Undefined, optional + A list of email addresses identified by this Certificate. + upns : [str], default is Undefined, optional + A list of User Principal Names identified by the Certificate. + """ + + + dnsNames?: [str] + + emails?: [str] + + upns?: [str] + + +schema KeyvaultAzureUpboundIoV1beta1CertificateStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/certificatecontacts.k b/io/upbound/azure/keyvault/v1beta1/certificatecontacts.k new file mode 100644 index 0000000..8695bc2 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/certificatecontacts.k @@ -0,0 +1,645 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema CertificateContacts: + r""" + CertificateContacts is the Schema for the CertificateContactss API. Manages Key Vault Certificate Contacts. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "CertificateContacts", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1CertificateContactsStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "CertificateContacts" = "CertificateContacts" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpec + + status?: KeyvaultAzureUpboundIoV1beta1CertificateContactsStatus + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpec: + r""" + CertificateContactsSpec defines the desired state of CertificateContacts + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProvider: + r""" + keyvault azure upbound io v1beta1 certificate contacts spec for provider + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderContactItems0], default is Undefined, optional + One or more contact blocks as defined below. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderContactItems0] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDSelector + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderContactItems0: + r""" + keyvault azure upbound io v1beta1 certificate contacts spec for provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderContactItems0], default is Undefined, optional + One or more contact blocks as defined below. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderContactItems0] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDSelector + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderContactItems0: + r""" + keyvault azure upbound io v1beta1 certificate contacts spec init provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsStatus: + r""" + CertificateContactsStatus defines the observed state of CertificateContacts. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 certificate contacts status at provider + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusAtProviderContactItems0], default is Undefined, optional + One or more contact blocks as defined below. + id : str, default is Undefined, optional + The ID of the Key Vault Certificate Contacts. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault. Changing this forces a new resource to be created. + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusAtProviderContactItems0] + + id?: str + + keyVaultId?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusAtProviderContactItems0: + r""" + keyvault azure upbound io v1beta1 certificate contacts status at provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateContactsStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/certificateissuer.k b/io/upbound/azure/keyvault/v1beta1/certificateissuer.k new file mode 100644 index 0000000..362e6c0 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/certificateissuer.k @@ -0,0 +1,745 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema CertificateIssuer: + r""" + CertificateIssuer is the Schema for the CertificateIssuers API. Manages a Key Vault Certificate Issuer. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "CertificateIssuer", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "CertificateIssuer" = "CertificateIssuer" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpec + + status?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatus + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpec: + r""" + CertificateIssuerSpec defines the desired state of CertificateIssuer + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProvider: + r""" + keyvault azure upbound io v1beta1 certificate issuer spec for provider + + Attributes + ---------- + accountId : str, default is Undefined, optional + The account number with the third-party Certificate Issuer. + admin : [KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderAdminItems0], default is Undefined, optional + One or more admin blocks as defined below. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault in which to create the Certificate Issuer. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + orgId : str, default is Undefined, optional + The ID of the organization as provided to the issuer. + passwordSecretRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderPasswordSecretRef, default is Undefined, optional + password secret ref + providerName : str, default is Undefined, optional + The name of the third-party Certificate Issuer. Possible values are: DigiCert, GlobalSign, OneCertV2-PrivateCA, OneCertV2-PublicCA and SslAdminV2. + """ + + + accountId?: str + + admin?: [KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderAdminItems0] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDSelector + + orgId?: str + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderPasswordSecretRef + + providerName?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderAdminItems0: + r""" + keyvault azure upbound io v1beta1 certificate issuer spec for provider admin items0 + + Attributes + ---------- + emailAddress : str, default is Undefined, optional + E-mail address of the admin. + firstName : str, default is Undefined, optional + First name of the admin. + lastName : str, default is Undefined, optional + Last name of the admin. + phone : str, default is Undefined, optional + Phone number of the admin. + """ + + + emailAddress?: str + + firstName?: str + + lastName?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecForProviderPasswordSecretRef: + r""" + The password associated with the account and organization ID at the third-party Certificate Issuer. If not specified, will not overwrite any previous value. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + accountId : str, default is Undefined, optional + The account number with the third-party Certificate Issuer. + admin : [KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderAdminItems0], default is Undefined, optional + One or more admin blocks as defined below. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault in which to create the Certificate Issuer. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + orgId : str, default is Undefined, optional + The ID of the organization as provided to the issuer. + passwordSecretRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderPasswordSecretRef, default is Undefined, optional + password secret ref + providerName : str, default is Undefined, optional + The name of the third-party Certificate Issuer. Possible values are: DigiCert, GlobalSign, OneCertV2-PrivateCA, OneCertV2-PublicCA and SslAdminV2. + """ + + + accountId?: str + + admin?: [KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderAdminItems0] + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDSelector + + orgId?: str + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderPasswordSecretRef + + providerName?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderAdminItems0: + r""" + keyvault azure upbound io v1beta1 certificate issuer spec init provider admin items0 + + Attributes + ---------- + emailAddress : str, default is Undefined, optional + E-mail address of the admin. + firstName : str, default is Undefined, optional + First name of the admin. + lastName : str, default is Undefined, optional + Last name of the admin. + phone : str, default is Undefined, optional + Phone number of the admin. + """ + + + emailAddress?: str + + firstName?: str + + lastName?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecInitProviderPasswordSecretRef: + r""" + The password associated with the account and organization ID at the third-party Certificate Issuer. If not specified, will not overwrite any previous value. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatus: + r""" + CertificateIssuerStatus defines the observed state of CertificateIssuer. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 certificate issuer status at provider + + Attributes + ---------- + accountId : str, default is Undefined, optional + The account number with the third-party Certificate Issuer. + admin : [KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusAtProviderAdminItems0], default is Undefined, optional + One or more admin blocks as defined below. + id : str, default is Undefined, optional + The ID of the Key Vault Certificate Issuer. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault in which to create the Certificate Issuer. Changing this forces a new resource to be created. + orgId : str, default is Undefined, optional + The ID of the organization as provided to the issuer. + providerName : str, default is Undefined, optional + The name of the third-party Certificate Issuer. Possible values are: DigiCert, GlobalSign, OneCertV2-PrivateCA, OneCertV2-PublicCA and SslAdminV2. + """ + + + accountId?: str + + admin?: [KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusAtProviderAdminItems0] + + id?: str + + keyVaultId?: str + + orgId?: str + + providerName?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusAtProviderAdminItems0: + r""" + keyvault azure upbound io v1beta1 certificate issuer status at provider admin items0 + + Attributes + ---------- + emailAddress : str, default is Undefined, optional + E-mail address of the admin. + firstName : str, default is Undefined, optional + First name of the admin. + lastName : str, default is Undefined, optional + Last name of the admin. + phone : str, default is Undefined, optional + Phone number of the admin. + """ + + + emailAddress?: str + + firstName?: str + + lastName?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1CertificateIssuerStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/key.k b/io/upbound/azure/keyvault/v1beta1/key.k new file mode 100644 index 0000000..3f4e229 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/key.k @@ -0,0 +1,835 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Key: + r""" + Key is the Schema for the Keys API. Manages a Key Vault Key. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "Key", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1KeySpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1KeyStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "Key" = "Key" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1KeySpec + + status?: KeyvaultAzureUpboundIoV1beta1KeyStatus + + +schema KeyvaultAzureUpboundIoV1beta1KeySpec: + r""" + KeySpec defines the desired state of Key + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1KeySpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1KeySpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1KeySpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1KeySpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1KeySpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1KeySpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1KeySpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1KeySpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProvider: + r""" + keyvault azure upbound io v1beta1 key spec for provider + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. The API will default to P-256 if nothing is specified. Changing this forces a new resource to be created. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. + keyOpts : [str], default is Undefined, optional + A list of JSON web key operations. Possible values include: decrypt, encrypt, sign, unwrapKey, verify and wrapKey. Please note these values are case sensitive. + keySize : float, default is Undefined, optional + Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. Note: This field is required if key_type is RSA or RSA-HSM. Changing this forces a new resource to be created. + keyType : str, default is Undefined, optional + Specifies the Key Type to use for this Key Vault Key. Possible values are EC (Elliptic Curve), EC-HSM, RSA and RSA-HSM. Changing this forces a new resource to be created. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Key. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + rotationPolicy : [KeyvaultAzureUpboundIoV1beta1KeySpecForProviderRotationPolicyItems0], default is Undefined, optional + A rotation_policy block as defined below. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + curve?: str + + expirationDate?: str + + keyOpts?: [str] + + keySize?: float + + keyType?: str + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDSelector + + name?: str + + notBeforeDate?: str + + rotationPolicy?: [KeyvaultAzureUpboundIoV1beta1KeySpecForProviderRotationPolicyItems0] + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProviderRotationPolicyItems0: + r""" + keyvault azure upbound io v1beta1 key spec for provider rotation policy items0 + + Attributes + ---------- + automatic : [KeyvaultAzureUpboundIoV1beta1KeySpecForProviderRotationPolicyItems0AutomaticItems0], default is Undefined, optional + An automatic block as defined below. + expireAfter : str, default is Undefined, optional + Expire a Key Vault Key after given duration as an ISO 8601 duration. + notifyBeforeExpiry : str, default is Undefined, optional + Notify at a given duration before expiry as an ISO 8601 duration. + """ + + + automatic?: [KeyvaultAzureUpboundIoV1beta1KeySpecForProviderRotationPolicyItems0AutomaticItems0] + + expireAfter?: str + + notifyBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecForProviderRotationPolicyItems0AutomaticItems0: + r""" + keyvault azure upbound io v1beta1 key spec for provider rotation policy items0 automatic items0 + + Attributes + ---------- + timeAfterCreation : str, default is Undefined, optional + Rotate automatically at a duration after create as an ISO 8601 duration. + timeBeforeExpiry : str, default is Undefined, optional + Rotate automatically at a duration before expiry as an ISO 8601 duration. + """ + + + timeAfterCreation?: str + + timeBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. The API will default to P-256 if nothing is specified. Changing this forces a new resource to be created. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. + keyOpts : [str], default is Undefined, optional + A list of JSON web key operations. Possible values include: decrypt, encrypt, sign, unwrapKey, verify and wrapKey. Please note these values are case sensitive. + keySize : float, default is Undefined, optional + Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. Note: This field is required if key_type is RSA or RSA-HSM. Changing this forces a new resource to be created. + keyType : str, default is Undefined, optional + Specifies the Key Type to use for this Key Vault Key. Possible values are EC (Elliptic Curve), EC-HSM, RSA and RSA-HSM. Changing this forces a new resource to be created. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Key. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + rotationPolicy : [KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderRotationPolicyItems0], default is Undefined, optional + A rotation_policy block as defined below. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + curve?: str + + expirationDate?: str + + keyOpts?: [str] + + keySize?: float + + keyType?: str + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDSelector + + name?: str + + notBeforeDate?: str + + rotationPolicy?: [KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderRotationPolicyItems0] + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderRotationPolicyItems0: + r""" + keyvault azure upbound io v1beta1 key spec init provider rotation policy items0 + + Attributes + ---------- + automatic : [KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderRotationPolicyItems0AutomaticItems0], default is Undefined, optional + An automatic block as defined below. + expireAfter : str, default is Undefined, optional + Expire a Key Vault Key after given duration as an ISO 8601 duration. + notifyBeforeExpiry : str, default is Undefined, optional + Notify at a given duration before expiry as an ISO 8601 duration. + """ + + + automatic?: [KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderRotationPolicyItems0AutomaticItems0] + + expireAfter?: str + + notifyBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecInitProviderRotationPolicyItems0AutomaticItems0: + r""" + keyvault azure upbound io v1beta1 key spec init provider rotation policy items0 automatic items0 + + Attributes + ---------- + timeAfterCreation : str, default is Undefined, optional + Rotate automatically at a duration after create as an ISO 8601 duration. + timeBeforeExpiry : str, default is Undefined, optional + Rotate automatically at a duration before expiry as an ISO 8601 duration. + """ + + + timeAfterCreation?: str + + timeBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1KeySpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1KeySpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeySpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1KeyStatus: + r""" + KeyStatus defines the observed state of Key. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1KeyStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1KeyStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1KeyStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1KeyStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1KeyStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 key status at provider + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. The API will default to P-256 if nothing is specified. Changing this forces a new resource to be created. + e : str, default is Undefined, optional + The RSA public exponent of this Key Vault Key. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. + id : str, default is Undefined, optional + The Key Vault Key ID. + keyOpts : [str], default is Undefined, optional + A list of JSON web key operations. Possible values include: decrypt, encrypt, sign, unwrapKey, verify and wrapKey. Please note these values are case sensitive. + keySize : float, default is Undefined, optional + Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. Note: This field is required if key_type is RSA or RSA-HSM. Changing this forces a new resource to be created. + keyType : str, default is Undefined, optional + Specifies the Key Type to use for this Key Vault Key. Possible values are EC (Elliptic Curve), EC-HSM, RSA and RSA-HSM. Changing this forces a new resource to be created. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. + n : str, default is Undefined, optional + The RSA modulus of this Key Vault Key. + name : str, default is Undefined, optional + Specifies the name of the Key Vault Key. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + publicKeyOpenssh : str, default is Undefined, optional + The OpenSSH encoded public key of this Key Vault Key. + publicKeyPem : str, default is Undefined, optional + The PEM encoded public key of this Key Vault Key. + resourceId : str, default is Undefined, optional + The (Versioned) ID for this Key Vault Key. This property points to a specific version of a Key Vault Key, as such using this won't auto-rotate values if used in other Azure Services. + resourceVersionlessId : str, default is Undefined, optional + The Versionless ID of the Key Vault Key. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Key is updated. + rotationPolicy : [KeyvaultAzureUpboundIoV1beta1KeyStatusAtProviderRotationPolicyItems0], default is Undefined, optional + A rotation_policy block as defined below. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + version : str, default is Undefined, optional + The current version of the Key Vault Key. + versionlessId : str, default is Undefined, optional + The Base ID of the Key Vault Key. + x : str, default is Undefined, optional + The EC X component of this Key Vault Key. + y : str, default is Undefined, optional + The EC Y component of this Key Vault Key. + """ + + + curve?: str + + e?: str + + expirationDate?: str + + id?: str + + keyOpts?: [str] + + keySize?: float + + keyType?: str + + keyVaultId?: str + + n?: str + + name?: str + + notBeforeDate?: str + + publicKeyOpenssh?: str + + publicKeyPem?: str + + resourceId?: str + + resourceVersionlessId?: str + + rotationPolicy?: [KeyvaultAzureUpboundIoV1beta1KeyStatusAtProviderRotationPolicyItems0] + + tags?: {str:str} + + version?: str + + versionlessId?: str + + x?: str + + y?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeyStatusAtProviderRotationPolicyItems0: + r""" + keyvault azure upbound io v1beta1 key status at provider rotation policy items0 + + Attributes + ---------- + automatic : [KeyvaultAzureUpboundIoV1beta1KeyStatusAtProviderRotationPolicyItems0AutomaticItems0], default is Undefined, optional + An automatic block as defined below. + expireAfter : str, default is Undefined, optional + Expire a Key Vault Key after given duration as an ISO 8601 duration. + notifyBeforeExpiry : str, default is Undefined, optional + Notify at a given duration before expiry as an ISO 8601 duration. + """ + + + automatic?: [KeyvaultAzureUpboundIoV1beta1KeyStatusAtProviderRotationPolicyItems0AutomaticItems0] + + expireAfter?: str + + notifyBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeyStatusAtProviderRotationPolicyItems0AutomaticItems0: + r""" + keyvault azure upbound io v1beta1 key status at provider rotation policy items0 automatic items0 + + Attributes + ---------- + timeAfterCreation : str, default is Undefined, optional + Rotate automatically at a duration after create as an ISO 8601 duration. + timeBeforeExpiry : str, default is Undefined, optional + Rotate automatically at a duration before expiry as an ISO 8601 duration. + """ + + + timeAfterCreation?: str + + timeBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta1KeyStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/managedhardwaresecuritymodule.k b/io/upbound/azure/keyvault/v1beta1/managedhardwaresecuritymodule.k new file mode 100644 index 0000000..8bee566 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/managedhardwaresecuritymodule.k @@ -0,0 +1,656 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ManagedHardwareSecurityModule: + r""" + ManagedHardwareSecurityModule is the Schema for the ManagedHardwareSecurityModules API. Manages a Key Vault Managed Hardware Security Module. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ManagedHardwareSecurityModule", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "ManagedHardwareSecurityModule" = "ManagedHardwareSecurityModule" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpec + + status?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatus + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpec: + r""" + ManagedHardwareSecurityModuleSpec defines the desired state of ManagedHardwareSecurityModule + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProvider: + r""" + keyvault azure upbound io v1beta1 managed hardware security module spec for provider + + Attributes + ---------- + adminObjectIds : [str], default is Undefined, optional + Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderNetworkAclsItems0], default is Undefined, optional + A network_acls block as defined below. + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether traffic from public networks is permitted. Defaults to true. Changing this forces a new resource to be created. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault Managed Hardware Security Module? Changing this forces a new resource to be created. + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault Managed Hardware Security Module. Changing this forces a new resource to be created. + resourceGroupNameRef : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRef, default is Undefined, optional + resource group name ref + resourceGroupNameSelector : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelector, default is Undefined, optional + resource group name selector + securityDomainKeyVaultCertificateIds : [str], default is Undefined, optional + A list of KeyVault certificates resource IDs (minimum of three and up to a maximum of 10) to activate this Managed HSM. More information see activate-your-managed-hsm + securityDomainQuorum : float, default is Undefined, optional + Specifies the minimum number of shares required to decrypt the security domain for recovery. This is required when security_domain_key_vault_certificate_ids is specified. Valid values are between 2 and 10. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault Managed Hardware Security Module. Possible value is Standard_B1. Changing this forces a new resource to be created. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days. Defaults to 90. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory Tenant ID that should be used for authenticating requests to the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + """ + + + adminObjectIds?: [str] + + location?: str + + networkAcls?: [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderNetworkAclsItems0] + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + resourceGroupNameRef?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRef + + resourceGroupNameSelector?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelector + + securityDomainKeyVaultCertificateIds?: [str] + + securityDomainQuorum?: float + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderNetworkAclsItems0: + r""" + keyvault azure upbound io v1beta1 managed hardware security module spec for provider network acls items0 + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use. Possible values are Allow and Deny. + """ + + + bypass?: str + + defaultAction?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRef: + r""" + Reference to a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelector: + r""" + Selector for a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + adminObjectIds : [str], default is Undefined, optional + Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecInitProviderNetworkAclsItems0], default is Undefined, optional + A network_acls block as defined below. + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether traffic from public networks is permitted. Defaults to true. Changing this forces a new resource to be created. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault Managed Hardware Security Module? Changing this forces a new resource to be created. + securityDomainKeyVaultCertificateIds : [str], default is Undefined, optional + A list of KeyVault certificates resource IDs (minimum of three and up to a maximum of 10) to activate this Managed HSM. More information see activate-your-managed-hsm + securityDomainQuorum : float, default is Undefined, optional + Specifies the minimum number of shares required to decrypt the security domain for recovery. This is required when security_domain_key_vault_certificate_ids is specified. Valid values are between 2 and 10. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault Managed Hardware Security Module. Possible value is Standard_B1. Changing this forces a new resource to be created. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days. Defaults to 90. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory Tenant ID that should be used for authenticating requests to the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + """ + + + adminObjectIds?: [str] + + location?: str + + networkAcls?: [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecInitProviderNetworkAclsItems0] + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + securityDomainKeyVaultCertificateIds?: [str] + + securityDomainQuorum?: float + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecInitProviderNetworkAclsItems0: + r""" + keyvault azure upbound io v1beta1 managed hardware security module spec init provider network acls items0 + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use. Possible values are Allow and Deny. + """ + + + bypass?: str + + defaultAction?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatus: + r""" + ManagedHardwareSecurityModuleStatus defines the observed state of ManagedHardwareSecurityModule. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 managed hardware security module status at provider + + Attributes + ---------- + adminObjectIds : [str], default is Undefined, optional + Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + hsmUri : str, default is Undefined, optional + The URI of the Key Vault Managed Hardware Security Module, used for performing operations on keys. + id : str, default is Undefined, optional + The Key Vault Secret Managed Hardware Security Module ID. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusAtProviderNetworkAclsItems0], default is Undefined, optional + A network_acls block as defined below. + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether traffic from public networks is permitted. Defaults to true. Changing this forces a new resource to be created. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault Managed Hardware Security Module? Changing this forces a new resource to be created. + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault Managed Hardware Security Module. Changing this forces a new resource to be created. + securityDomainKeyVaultCertificateIds : [str], default is Undefined, optional + A list of KeyVault certificates resource IDs (minimum of three and up to a maximum of 10) to activate this Managed HSM. More information see activate-your-managed-hsm + securityDomainQuorum : float, default is Undefined, optional + Specifies the minimum number of shares required to decrypt the security domain for recovery. This is required when security_domain_key_vault_certificate_ids is specified. Valid values are between 2 and 10. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault Managed Hardware Security Module. Possible value is Standard_B1. Changing this forces a new resource to be created. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days. Defaults to 90. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory Tenant ID that should be used for authenticating requests to the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + """ + + + adminObjectIds?: [str] + + hsmUri?: str + + id?: str + + location?: str + + networkAcls?: [KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusAtProviderNetworkAclsItems0] + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + securityDomainKeyVaultCertificateIds?: [str] + + securityDomainQuorum?: float + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusAtProviderNetworkAclsItems0: + r""" + keyvault azure upbound io v1beta1 managed hardware security module status at provider network acls items0 + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use. Possible values are Allow and Deny. + """ + + + bypass?: str + + defaultAction?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedHardwareSecurityModuleStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/managedstorageaccount.k b/io/upbound/azure/keyvault/v1beta1/managedstorageaccount.k new file mode 100644 index 0000000..f5c69fd --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/managedstorageaccount.k @@ -0,0 +1,821 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ManagedStorageAccount: + r""" + ManagedStorageAccount is the Schema for the ManagedStorageAccounts API. Manages a Key Vault Managed Storage Account. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ManagedStorageAccount", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "ManagedStorageAccount" = "ManagedStorageAccount" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpec + + status?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatus + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpec: + r""" + ManagedStorageAccountSpec defines the desired state of ManagedStorageAccount + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProvider: + r""" + keyvault azure upbound io v1beta1 managed storage account spec for provider + + Attributes + ---------- + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Managed Storage Account should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + regenerateKeyAutomatically : bool, default is Undefined, optional + Should Storage Account access key be regenerated periodically? + regenerationPeriod : str, default is Undefined, optional + How often Storage Account access key should be regenerated. Value needs to be in ISO 8601 duration format. + storageAccountId : str, default is Undefined, optional + The ID of the Storage Account. + storageAccountIdRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDRef, default is Undefined, optional + storage account Id ref + storageAccountIdSelector : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDSelector, default is Undefined, optional + storage account Id selector + storageAccountKey : str, default is Undefined, optional + Which Storage Account access key that is managed by Key Vault. Possible values are key1 and key2. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the Key Vault Managed Storage Account. Changing this forces a new resource to be created. + """ + + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDSelector + + regenerateKeyAutomatically?: bool + + regenerationPeriod?: str + + storageAccountId?: str + + storageAccountIdRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDRef + + storageAccountIdSelector?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDSelector + + storageAccountKey?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDRef: + r""" + Reference to a Account in storage to populate storageAccountId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDSelector: + r""" + Selector for a Account in storage to populate storageAccountId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecForProviderStorageAccountIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Managed Storage Account should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + regenerateKeyAutomatically : bool, default is Undefined, optional + Should Storage Account access key be regenerated periodically? + regenerationPeriod : str, default is Undefined, optional + How often Storage Account access key should be regenerated. Value needs to be in ISO 8601 duration format. + storageAccountId : str, default is Undefined, optional + The ID of the Storage Account. + storageAccountIdRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDRef, default is Undefined, optional + storage account Id ref + storageAccountIdSelector : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDSelector, default is Undefined, optional + storage account Id selector + storageAccountKey : str, default is Undefined, optional + Which Storage Account access key that is managed by Key Vault. Possible values are key1 and key2. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the Key Vault Managed Storage Account. Changing this forces a new resource to be created. + """ + + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDSelector + + regenerateKeyAutomatically?: bool + + regenerationPeriod?: str + + storageAccountId?: str + + storageAccountIdRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDRef + + storageAccountIdSelector?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDSelector + + storageAccountKey?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDRef: + r""" + Reference to a Account in storage to populate storageAccountId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDSelector: + r""" + Selector for a Account in storage to populate storageAccountId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecInitProviderStorageAccountIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatus: + r""" + ManagedStorageAccountStatus defines the observed state of ManagedStorageAccount. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 managed storage account status at provider + + Attributes + ---------- + id : str, default is Undefined, optional + The ID of the Key Vault Managed Storage Account. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Managed Storage Account should be created. Changing this forces a new resource to be created. + regenerateKeyAutomatically : bool, default is Undefined, optional + Should Storage Account access key be regenerated periodically? + regenerationPeriod : str, default is Undefined, optional + How often Storage Account access key should be regenerated. Value needs to be in ISO 8601 duration format. + storageAccountId : str, default is Undefined, optional + The ID of the Storage Account. + storageAccountKey : str, default is Undefined, optional + Which Storage Account access key that is managed by Key Vault. Possible values are key1 and key2. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the Key Vault Managed Storage Account. Changing this forces a new resource to be created. + """ + + + id?: str + + keyVaultId?: str + + regenerateKeyAutomatically?: bool + + regenerationPeriod?: str + + storageAccountId?: str + + storageAccountKey?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/managedstorageaccountsastokendefinition.k b/io/upbound/azure/keyvault/v1beta1/managedstorageaccountsastokendefinition.k new file mode 100644 index 0000000..609a4a6 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/managedstorageaccountsastokendefinition.k @@ -0,0 +1,518 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ManagedStorageAccountSASTokenDefinition: + r""" + ManagedStorageAccountSASTokenDefinition is the Schema for the ManagedStorageAccountSASTokenDefinitions API. Manages a Key Vault Managed Storage Account SAS Definition. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ManagedStorageAccountSASTokenDefinition", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "ManagedStorageAccountSASTokenDefinition" = "ManagedStorageAccountSASTokenDefinition" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpec + + status?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatus + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpec: + r""" + ManagedStorageAccountSASTokenDefinitionSpec defines the desired state of ManagedStorageAccountSASTokenDefinition + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProvider: + r""" + keyvault azure upbound io v1beta1 managed storage account s a s token definition spec for provider + + Attributes + ---------- + managedStorageAccountId : str, default is Undefined, optional + The ID of the Managed Storage Account. + managedStorageAccountIdRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDRef, default is Undefined, optional + managed storage account Id ref + managedStorageAccountIdSelector : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDSelector, default is Undefined, optional + managed storage account Id selector + sasTemplateUri : str, default is Undefined, optional + The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period. + sasType : str, default is Undefined, optional + The type of SAS token the SAS definition will create. Possible values are account and service. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the SAS Definition. Changing this forces a new resource to be created. + validityPeriod : str, default is Undefined, optional + Validity period of SAS token. Value needs to be in ISO 8601 duration format. + """ + + + managedStorageAccountId?: str + + managedStorageAccountIdRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDRef + + managedStorageAccountIdSelector?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDSelector + + sasTemplateUri?: str + + sasType?: str + + tags?: {str:str} + + validityPeriod?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDRef: + r""" + Reference to a ManagedStorageAccount in keyvault to populate managedStorageAccountId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDSelector: + r""" + Selector for a ManagedStorageAccount in keyvault to populate managedStorageAccountId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecForProviderManagedStorageAccountIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + sasTemplateUri : str, default is Undefined, optional + The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period. + sasType : str, default is Undefined, optional + The type of SAS token the SAS definition will create. Possible values are account and service. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the SAS Definition. Changing this forces a new resource to be created. + validityPeriod : str, default is Undefined, optional + Validity period of SAS token. Value needs to be in ISO 8601 duration format. + """ + + + sasTemplateUri?: str + + sasType?: str + + tags?: {str:str} + + validityPeriod?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatus: + r""" + ManagedStorageAccountSASTokenDefinitionStatus defines the observed state of ManagedStorageAccountSASTokenDefinition. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 managed storage account s a s token definition status at provider + + Attributes + ---------- + id : str, default is Undefined, optional + The ID of the Managed Storage Account SAS Definition. + managedStorageAccountId : str, default is Undefined, optional + The ID of the Managed Storage Account. + sasTemplateUri : str, default is Undefined, optional + The SAS definition token template signed with an arbitrary key. Tokens created according to the SAS definition will have the same properties as the template, but regenerated with a new validity period. + sasType : str, default is Undefined, optional + The type of SAS token the SAS definition will create. Possible values are account and service. + secretId : str, default is Undefined, optional + The ID of the Secret that is created by Managed Storage Account SAS Definition. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the SAS Definition. Changing this forces a new resource to be created. + validityPeriod : str, default is Undefined, optional + Validity period of SAS token. Value needs to be in ISO 8601 duration format. + """ + + + id?: str + + managedStorageAccountId?: str + + sasTemplateUri?: str + + sasType?: str + + secretId?: str + + tags?: {str:str} + + validityPeriod?: str + + +schema KeyvaultAzureUpboundIoV1beta1ManagedStorageAccountSASTokenDefinitionStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/secret.k b/io/upbound/azure/keyvault/v1beta1/secret.k new file mode 100644 index 0000000..8be50db --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/secret.k @@ -0,0 +1,695 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Secret: + r""" + Secret is the Schema for the Secrets API. Manages a Key Vault Secret. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "Secret", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1SecretSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1SecretStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "Secret" = "Secret" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1SecretSpec + + status?: KeyvaultAzureUpboundIoV1beta1SecretStatus + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpec: + r""" + SecretSpec defines the desired state of Secret + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1SecretSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1SecretSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1SecretSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1SecretSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1SecretSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1SecretSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1SecretSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1SecretSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecForProvider: + r""" + keyvault azure upbound io v1beta1 secret spec for provider + + Attributes + ---------- + contentType : str, default is Undefined, optional + Specifies the content type for the Key Vault Secret. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Secret should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Secret. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + valueSecretRef : KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderValueSecretRef, default is Undefined, optional + value secret ref + """ + + + contentType?: str + + expirationDate?: str + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDSelector + + name?: str + + notBeforeDate?: str + + tags?: {str:str} + + valueSecretRef?: KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderValueSecretRef + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecForProviderValueSecretRef: + r""" + Specifies the value of the Key Vault Secret. Changing this will create a new version of the Key Vault Secret. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + contentType : str, default is Undefined, optional + Specifies the content type for the Key Vault Secret. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Secret should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Secret. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + valueSecretRef : KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderValueSecretRef, default is Undefined, required + value secret ref + """ + + + contentType?: str + + expirationDate?: str + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDSelector + + name?: str + + notBeforeDate?: str + + tags?: {str:str} + + valueSecretRef: KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderValueSecretRef + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecInitProviderValueSecretRef: + r""" + Specifies the value of the Key Vault Secret. Changing this will create a new version of the Key Vault Secret. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1SecretSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1SecretSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1SecretSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1SecretStatus: + r""" + SecretStatus defines the observed state of Secret. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1SecretStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1SecretStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1SecretStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1SecretStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1SecretStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 secret status at provider + + Attributes + ---------- + contentType : str, default is Undefined, optional + Specifies the content type for the Key Vault Secret. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). + id : str, default is Undefined, optional + The Key Vault Secret ID. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Secret should be created. Changing this forces a new resource to be created. + name : str, default is Undefined, optional + Specifies the name of the Key Vault Secret. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + resourceId : str, default is Undefined, optional + The (Versioned) ID for this Key Vault Secret. This property points to a specific version of a Key Vault Secret, as such using this won't auto-rotate values if used in other Azure Services. + resourceVersionlessId : str, default is Undefined, optional + The Versionless ID of the Key Vault Secret. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Secret is updated. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + version : str, default is Undefined, optional + The current version of the Key Vault Secret. + versionlessId : str, default is Undefined, optional + The Base ID of the Key Vault Secret. + """ + + + contentType?: str + + expirationDate?: str + + id?: str + + keyVaultId?: str + + name?: str + + notBeforeDate?: str + + resourceId?: str + + resourceVersionlessId?: str + + tags?: {str:str} + + version?: str + + versionlessId?: str + + +schema KeyvaultAzureUpboundIoV1beta1SecretStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta1/vault.k b/io/upbound/azure/keyvault/v1beta1/vault.k new file mode 100644 index 0000000..47acbed --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta1/vault.k @@ -0,0 +1,812 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Vault: + r""" + Vault is the Schema for the Vaults API. Manages a Key Vault. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta1", required + 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 + kind : str, default is "Vault", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta1VaultSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta1VaultStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta1" = "keyvault.azure.upbound.io/v1beta1" + + kind: "Vault" = "Vault" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta1VaultSpec + + status?: KeyvaultAzureUpboundIoV1beta1VaultStatus + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpec: + r""" + VaultSpec defines the desired state of Vault + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta1VaultSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta1VaultSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta1VaultSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta1VaultSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta1VaultSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta1VaultSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta1VaultSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta1VaultSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProvider: + r""" + keyvault azure upbound io v1beta1 vault spec for provider + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderContactItems0], default is Undefined, optional + One or more contact block as defined below. + enableRbacAuthorization : bool, default is Undefined, optional + Boolean flag to specify whether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions. + enabledForDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. + enabledForDiskEncryption : bool, default is Undefined, optional + Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. + enabledForTemplateDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : [KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderNetworkAclsItems0], default is Undefined, optional + A network_acls block as defined below. + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether public network access is allowed for this Key Vault. Defaults to true. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault? + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault. Changing this forces a new resource to be created. + resourceGroupNameRef : KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameRef, default is Undefined, optional + resource group name ref + resourceGroupNameSelector : KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameSelector, default is Undefined, optional + resource group name selector + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault. Possible values are standard and premium. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 (the default) days. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderContactItems0] + + enableRbacAuthorization?: bool + + enabledForDeployment?: bool + + enabledForDiskEncryption?: bool + + enabledForTemplateDeployment?: bool + + location?: str + + networkAcls?: [KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderNetworkAclsItems0] + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + resourceGroupNameRef?: KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameRef + + resourceGroupNameSelector?: KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameSelector + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderContactItems0: + r""" + keyvault azure upbound io v1beta1 vault spec for provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderNetworkAclsItems0: + r""" + keyvault azure upbound io v1beta1 vault spec for provider network acls items0 + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny. + ipRules : [str], default is Undefined, optional + One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. + virtualNetworkSubnetIds : [str], default is Undefined, optional + One or more Subnet IDs which should be able to access this Key Vault. + """ + + + bypass?: str + + defaultAction?: str + + ipRules?: [str] + + virtualNetworkSubnetIds?: [str] + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameRef: + r""" + Reference to a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameSelector: + r""" + Selector for a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecForProviderResourceGroupNameSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta1VaultSpecInitProviderContactItems0], default is Undefined, optional + One or more contact block as defined below. + enableRbacAuthorization : bool, default is Undefined, optional + Boolean flag to specify whether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions. + enabledForDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. + enabledForDiskEncryption : bool, default is Undefined, optional + Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. + enabledForTemplateDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : [KeyvaultAzureUpboundIoV1beta1VaultSpecInitProviderNetworkAclsItems0], default is Undefined, optional + A network_acls block as defined below. + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether public network access is allowed for this Key Vault. Defaults to true. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault? + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault. Possible values are standard and premium. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 (the default) days. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta1VaultSpecInitProviderContactItems0] + + enableRbacAuthorization?: bool + + enabledForDeployment?: bool + + enabledForDiskEncryption?: bool + + enabledForTemplateDeployment?: bool + + location?: str + + networkAcls?: [KeyvaultAzureUpboundIoV1beta1VaultSpecInitProviderNetworkAclsItems0] + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecInitProviderContactItems0: + r""" + keyvault azure upbound io v1beta1 vault spec init provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecInitProviderNetworkAclsItems0: + r""" + keyvault azure upbound io v1beta1 vault spec init provider network acls items0 + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny. + ipRules : [str], default is Undefined, optional + One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. + virtualNetworkSubnetIds : [str], default is Undefined, optional + One or more Subnet IDs which should be able to access this Key Vault. + """ + + + bypass?: str + + defaultAction?: str + + ipRules?: [str] + + virtualNetworkSubnetIds?: [str] + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1VaultSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1VaultSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultStatus: + r""" + VaultStatus defines the observed state of Vault. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta1VaultStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta1VaultStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta1VaultStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta1VaultStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta1VaultStatusAtProvider: + r""" + keyvault azure upbound io v1beta1 vault status at provider + + Attributes + ---------- + accessPolicy : [KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderAccessPolicyItems0], default is Undefined, optional + A list of access_policy objects (up to 1024) describing access policies, as described below. + contact : [KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderContactItems0], default is Undefined, optional + One or more contact block as defined below. + enableRbacAuthorization : bool, default is Undefined, optional + Boolean flag to specify whether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions. + enabledForDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. + enabledForDiskEncryption : bool, default is Undefined, optional + Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. + enabledForTemplateDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. + id : str, default is Undefined, optional + The ID of the Key Vault. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : [KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderNetworkAclsItems0], default is Undefined, optional + A network_acls block as defined below. + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether public network access is allowed for this Key Vault. Defaults to true. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault? + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault. Changing this forces a new resource to be created. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault. Possible values are standard and premium. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 (the default) days. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + vaultUri : str, default is Undefined, optional + The URI of the Key Vault, used for performing operations on keys and secrets. + """ + + + accessPolicy?: [KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderAccessPolicyItems0] + + contact?: [KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderContactItems0] + + enableRbacAuthorization?: bool + + enabledForDeployment?: bool + + enabledForDiskEncryption?: bool + + enabledForTemplateDeployment?: bool + + id?: str + + location?: str + + networkAcls?: [KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderNetworkAclsItems0] + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + vaultUri?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderAccessPolicyItems0: + r""" + keyvault azure upbound io v1beta1 vault status at provider access policy items0 + + Attributes + ---------- + applicationId : str, default is Undefined, optional + The object ID of an Application in Azure Active Directory. + certificatePermissions : [str], default is Undefined, optional + List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update. + keyPermissions : [str], default is Undefined, optional + List of key permissions. Possible values are Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy. + objectId : str, default is Undefined, optional + The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies. + secretPermissions : [str], default is Undefined, optional + List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set. + storagePermissions : [str], default is Undefined, optional + List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. Must match the tenant_id used above. + """ + + + applicationId?: str + + certificatePermissions?: [str] + + keyPermissions?: [str] + + objectId?: str + + secretPermissions?: [str] + + storagePermissions?: [str] + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderContactItems0: + r""" + keyvault azure upbound io v1beta1 vault status at provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta1VaultStatusAtProviderNetworkAclsItems0: + r""" + keyvault azure upbound io v1beta1 vault status at provider network acls items0 + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny. + ipRules : [str], default is Undefined, optional + One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. + virtualNetworkSubnetIds : [str], default is Undefined, optional + One or more Subnet IDs which should be able to access this Key Vault. + """ + + + bypass?: str + + defaultAction?: str + + ipRules?: [str] + + virtualNetworkSubnetIds?: [str] + + +schema KeyvaultAzureUpboundIoV1beta1VaultStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta2/certificate.k b/io/upbound/azure/keyvault/v1beta2/certificate.k new file mode 100644 index 0000000..4f85085 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta2/certificate.k @@ -0,0 +1,1445 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Certificate: + r""" + Certificate is the Schema for the Certificates API. Manages a Key Vault Certificate. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta2", required + 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 + kind : str, default is "Certificate", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta2CertificateSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta2CertificateStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta2" = "keyvault.azure.upbound.io/v1beta2" + + kind: "Certificate" = "Certificate" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta2CertificateSpec + + status?: KeyvaultAzureUpboundIoV1beta2CertificateStatus + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpec: + r""" + CertificateSpec defines the desired state of Certificate + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProvider: + r""" + keyvault azure upbound io v1beta2 certificate spec for provider + + Attributes + ---------- + certificate : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificate, default is Undefined, optional + certificate + certificatePolicy : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicy, default is Undefined, optional + certificate policy + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + certificate?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificate + + certificatePolicy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicy + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDSelector + + name?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificate: + r""" + A certificate block as defined below, used to Import an existing certificate. Changing this will create a new version of the Key Vault Certificate. + + Attributes + ---------- + contentsSecretRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificateContentsSecretRef, default is Undefined, optional + contents secret ref + passwordSecretRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePasswordSecretRef, default is Undefined, optional + password secret ref + """ + + + contentsSecretRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificateContentsSecretRef + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePasswordSecretRef + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificateContentsSecretRef: + r""" + The base64-encoded certificate contents. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePasswordSecretRef: + r""" + The password associated with the certificate. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicy: + r""" + A certificate_policy block as defined below. Changing this (except the lifetime_action field) will create a new version of the Key Vault Certificate. + + Attributes + ---------- + issuerParameters : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyIssuerParameters, default is Undefined, optional + issuer parameters + keyProperties : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyKeyProperties, default is Undefined, optional + key properties + lifetimeAction : [KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0], default is Undefined, optional + A lifetime_action block as defined below. + secretProperties : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicySecretProperties, default is Undefined, optional + secret properties + x509CertificateProperties : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyX509CertificateProperties, default is Undefined, optional + x509 certificate properties + """ + + + issuerParameters?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyIssuerParameters + + keyProperties?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyKeyProperties + + lifetimeAction?: [KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0] + + secretProperties?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicySecretProperties + + x509CertificateProperties?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyX509CertificateProperties + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyIssuerParameters: + r""" + A issuer_parameters block as defined below. + + Attributes + ---------- + name : str, default is Undefined, optional + The name of the Certificate Issuer. Possible values include Self (for self-signed certificate), or Unknown (for a certificate issuing authority like Let's Encrypt and Azure direct supported ones). + """ + + + name?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyKeyProperties: + r""" + A key_properties block as defined below. + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. + exportable : bool, default is Undefined, optional + Is this certificate exportable? + keySize : float, default is Undefined, optional + The size of the key used in the certificate. Possible values include 2048, 3072, and 4096 for RSA keys, or 256, 384, and 521 for EC keys. This property is required when using RSA keys. + keyType : str, default is Undefined, optional + Specifies the type of key. Possible values are EC, EC-HSM, RSA, RSA-HSM and oct. + reuseKey : bool, default is Undefined, optional + Is the key reusable? + """ + + + curve?: str + + exportable?: bool + + keySize?: float + + keyType?: str + + reuseKey?: bool + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0: + r""" + keyvault azure upbound io v1beta2 certificate spec for provider certificate policy lifetime action items0 + + Attributes + ---------- + action : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0Action, default is Undefined, optional + action + trigger : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0Trigger, default is Undefined, optional + trigger + """ + + + action?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0Action + + trigger?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0Trigger + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0Action: + r""" + A action block as defined below. + + Attributes + ---------- + actionType : str, default is Undefined, optional + The Type of action to be performed when the lifetime trigger is triggerec. Possible values include AutoRenew and EmailContacts. + """ + + + actionType?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyLifetimeActionItems0Trigger: + r""" + A trigger block as defined below. + + Attributes + ---------- + daysBeforeExpiry : float, default is Undefined, optional + The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with lifetime_percentage. + lifetimePercentage : float, default is Undefined, optional + The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with days_before_expiry. + """ + + + daysBeforeExpiry?: float + + lifetimePercentage?: float + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicySecretProperties: + r""" + A secret_properties block as defined below. + + Attributes + ---------- + contentType : str, default is Undefined, optional + The Content-Type of the Certificate, such as application/x-pkcs12 for a PFX or application/x-pem-file for a PEM. + """ + + + contentType?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyX509CertificateProperties: + r""" + A x509_certificate_properties block as defined below. Required when certificate block is not specified. + + Attributes + ---------- + extendedKeyUsage : [str], default is Undefined, optional + A list of Extended/Enhanced Key Usages. + keyUsage : [str], default is Undefined, optional + A list of uses associated with this Key. Possible values include cRLSign, dataEncipherment, decipherOnly, digitalSignature, encipherOnly, keyAgreement, keyCertSign, keyEncipherment and nonRepudiation and are case-sensitive. + subject : str, default is Undefined, optional + The Certificate's Subject. + subjectAlternativeNames : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames, default is Undefined, optional + subject alternative names + validityInMonths : float, default is Undefined, optional + The Certificates Validity Period in Months. + """ + + + extendedKeyUsage?: [str] + + keyUsage?: [str] + + subject?: str + + subjectAlternativeNames?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames + + validityInMonths?: float + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames: + r""" + A subject_alternative_names block as defined below. + + Attributes + ---------- + dnsNames : [str], default is Undefined, optional + A list of alternative DNS names (FQDNs) identified by the Certificate. + emails : [str], default is Undefined, optional + A list of email addresses identified by this Certificate. + upns : [str], default is Undefined, optional + A list of User Principal Names identified by the Certificate. + """ + + + dnsNames?: [str] + + emails?: [str] + + upns?: [str] + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + certificate : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificate, default is Undefined, optional + certificate + certificatePolicy : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicy, default is Undefined, optional + certificate policy + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + certificate?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificate + + certificatePolicy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicy + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDSelector + + name?: str + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificate: + r""" + A certificate block as defined below, used to Import an existing certificate. Changing this will create a new version of the Key Vault Certificate. + + Attributes + ---------- + contentsSecretRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificateContentsSecretRef, default is Undefined, required + contents secret ref + passwordSecretRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePasswordSecretRef, default is Undefined, optional + password secret ref + """ + + + contentsSecretRef: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificateContentsSecretRef + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePasswordSecretRef + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificateContentsSecretRef: + r""" + The base64-encoded certificate contents. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePasswordSecretRef: + r""" + The password associated with the certificate. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicy: + r""" + A certificate_policy block as defined below. Changing this (except the lifetime_action field) will create a new version of the Key Vault Certificate. + + Attributes + ---------- + issuerParameters : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyIssuerParameters, default is Undefined, optional + issuer parameters + keyProperties : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyKeyProperties, default is Undefined, optional + key properties + lifetimeAction : [KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0], default is Undefined, optional + A lifetime_action block as defined below. + secretProperties : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicySecretProperties, default is Undefined, optional + secret properties + x509CertificateProperties : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyX509CertificateProperties, default is Undefined, optional + x509 certificate properties + """ + + + issuerParameters?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyIssuerParameters + + keyProperties?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyKeyProperties + + lifetimeAction?: [KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0] + + secretProperties?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicySecretProperties + + x509CertificateProperties?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyX509CertificateProperties + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyIssuerParameters: + r""" + A issuer_parameters block as defined below. + + Attributes + ---------- + name : str, default is Undefined, optional + The name of the Certificate Issuer. Possible values include Self (for self-signed certificate), or Unknown (for a certificate issuing authority like Let's Encrypt and Azure direct supported ones). + """ + + + name?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyKeyProperties: + r""" + A key_properties block as defined below. + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. + exportable : bool, default is Undefined, optional + Is this certificate exportable? + keySize : float, default is Undefined, optional + The size of the key used in the certificate. Possible values include 2048, 3072, and 4096 for RSA keys, or 256, 384, and 521 for EC keys. This property is required when using RSA keys. + keyType : str, default is Undefined, optional + Specifies the type of key. Possible values are EC, EC-HSM, RSA, RSA-HSM and oct. + reuseKey : bool, default is Undefined, optional + Is the key reusable? + """ + + + curve?: str + + exportable?: bool + + keySize?: float + + keyType?: str + + reuseKey?: bool + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0: + r""" + keyvault azure upbound io v1beta2 certificate spec init provider certificate policy lifetime action items0 + + Attributes + ---------- + action : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0Action, default is Undefined, optional + action + trigger : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0Trigger, default is Undefined, optional + trigger + """ + + + action?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0Action + + trigger?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0Trigger + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0Action: + r""" + A action block as defined below. + + Attributes + ---------- + actionType : str, default is Undefined, optional + The Type of action to be performed when the lifetime trigger is triggerec. Possible values include AutoRenew and EmailContacts. + """ + + + actionType?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyLifetimeActionItems0Trigger: + r""" + A trigger block as defined below. + + Attributes + ---------- + daysBeforeExpiry : float, default is Undefined, optional + The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with lifetime_percentage. + lifetimePercentage : float, default is Undefined, optional + The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with days_before_expiry. + """ + + + daysBeforeExpiry?: float + + lifetimePercentage?: float + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicySecretProperties: + r""" + A secret_properties block as defined below. + + Attributes + ---------- + contentType : str, default is Undefined, optional + The Content-Type of the Certificate, such as application/x-pkcs12 for a PFX or application/x-pem-file for a PEM. + """ + + + contentType?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyX509CertificateProperties: + r""" + A x509_certificate_properties block as defined below. Required when certificate block is not specified. + + Attributes + ---------- + extendedKeyUsage : [str], default is Undefined, optional + A list of Extended/Enhanced Key Usages. + keyUsage : [str], default is Undefined, optional + A list of uses associated with this Key. Possible values include cRLSign, dataEncipherment, decipherOnly, digitalSignature, encipherOnly, keyAgreement, keyCertSign, keyEncipherment and nonRepudiation and are case-sensitive. + subject : str, default is Undefined, optional + The Certificate's Subject. + subjectAlternativeNames : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames, default is Undefined, optional + subject alternative names + validityInMonths : float, default is Undefined, optional + The Certificates Validity Period in Months. + """ + + + extendedKeyUsage?: [str] + + keyUsage?: [str] + + subject?: str + + subjectAlternativeNames?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames + + validityInMonths?: float + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames: + r""" + A subject_alternative_names block as defined below. + + Attributes + ---------- + dnsNames : [str], default is Undefined, optional + A list of alternative DNS names (FQDNs) identified by the Certificate. + emails : [str], default is Undefined, optional + A list of email addresses identified by this Certificate. + upns : [str], default is Undefined, optional + A list of User Principal Names identified by the Certificate. + """ + + + dnsNames?: [str] + + emails?: [str] + + upns?: [str] + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2CertificateSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatus: + r""" + CertificateStatus defines the observed state of Certificate. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta2CertificateStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta2CertificateStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProvider: + r""" + keyvault azure upbound io v1beta2 certificate status at provider + + Attributes + ---------- + certificate : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificate, default is Undefined, optional + certificate + certificateAttribute : [KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificateAttributeItems0], default is Undefined, optional + A certificate_attribute block as defined below. + certificateData : str, default is Undefined, optional + The raw Key Vault Certificate data represented as a hexadecimal string. + certificateDataBase64 : str, default is Undefined, optional + The Base64 encoded Key Vault Certificate data. + certificatePolicy : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicy, default is Undefined, optional + certificate policy + id : str, default is Undefined, optional + The Key Vault Certificate ID. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Certificate should be created. Changing this forces a new resource to be created. + name : str, default is Undefined, optional + Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created. + resourceManagerId : str, default is Undefined, optional + The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services. + resourceManagerVersionlessId : str, default is Undefined, optional + The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated. + secretId : str, default is Undefined, optional + The ID of the associated Key Vault Secret. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + thumbprint : str, default is Undefined, optional + The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string. + version : str, default is Undefined, optional + The current version of the Key Vault Certificate. + versionlessId : str, default is Undefined, optional + The Base ID of the Key Vault Certificate. + versionlessSecretId : str, default is Undefined, optional + The Base ID of the Key Vault Secret. + """ + + + certificate?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificate + + certificateAttribute?: [KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificateAttributeItems0] + + certificateData?: str + + certificateDataBase64?: str + + certificatePolicy?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicy + + id?: str + + keyVaultId?: str + + name?: str + + resourceManagerId?: str + + resourceManagerVersionlessId?: str + + secretId?: str + + tags?: {str:str} + + thumbprint?: str + + version?: str + + versionlessId?: str + + versionlessSecretId?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificate: + r""" + A certificate block as defined below, used to Import an existing certificate. Changing this will create a new version of the Key Vault Certificate. + + Attributes + ---------- + contentsSecretRef : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificateContentsSecretRef, default is Undefined, optional + contents secret ref + passwordSecretRef : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePasswordSecretRef, default is Undefined, optional + password secret ref + """ + + + contentsSecretRef?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificateContentsSecretRef + + passwordSecretRef?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePasswordSecretRef + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificateAttributeItems0: + r""" + keyvault azure upbound io v1beta2 certificate status at provider certificate attribute items0 + + Attributes + ---------- + created : str, default is Undefined, optional + The create time of the Key Vault Certificate. + enabled : bool, default is Undefined, optional + whether the Key Vault Certificate is enabled. + expires : str, default is Undefined, optional + The expires time of the Key Vault Certificate. + notBefore : str, default is Undefined, optional + The not before valid time of the Key Vault Certificate. + recoveryLevel : str, default is Undefined, optional + The deletion recovery level of the Key Vault Certificate. + updated : str, default is Undefined, optional + The recent update time of the Key Vault Certificate. + """ + + + created?: str + + enabled?: bool + + expires?: str + + notBefore?: str + + recoveryLevel?: str + + updated?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificateContentsSecretRef: + r""" + The base64-encoded certificate contents. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePasswordSecretRef: + r""" + The password associated with the certificate. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicy: + r""" + A certificate_policy block as defined below. Changing this (except the lifetime_action field) will create a new version of the Key Vault Certificate. + + Attributes + ---------- + issuerParameters : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyIssuerParameters, default is Undefined, optional + issuer parameters + keyProperties : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyKeyProperties, default is Undefined, optional + key properties + lifetimeAction : [KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0], default is Undefined, optional + A lifetime_action block as defined below. + secretProperties : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicySecretProperties, default is Undefined, optional + secret properties + x509CertificateProperties : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyX509CertificateProperties, default is Undefined, optional + x509 certificate properties + """ + + + issuerParameters?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyIssuerParameters + + keyProperties?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyKeyProperties + + lifetimeAction?: [KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0] + + secretProperties?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicySecretProperties + + x509CertificateProperties?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyX509CertificateProperties + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyIssuerParameters: + r""" + A issuer_parameters block as defined below. + + Attributes + ---------- + name : str, default is Undefined, optional + The name of the Certificate Issuer. Possible values include Self (for self-signed certificate), or Unknown (for a certificate issuing authority like Let's Encrypt and Azure direct supported ones). + """ + + + name?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyKeyProperties: + r""" + A key_properties block as defined below. + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. + exportable : bool, default is Undefined, optional + Is this certificate exportable? + keySize : float, default is Undefined, optional + The size of the key used in the certificate. Possible values include 2048, 3072, and 4096 for RSA keys, or 256, 384, and 521 for EC keys. This property is required when using RSA keys. + keyType : str, default is Undefined, optional + Specifies the type of key. Possible values are EC, EC-HSM, RSA, RSA-HSM and oct. + reuseKey : bool, default is Undefined, optional + Is the key reusable? + """ + + + curve?: str + + exportable?: bool + + keySize?: float + + keyType?: str + + reuseKey?: bool + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0: + r""" + keyvault azure upbound io v1beta2 certificate status at provider certificate policy lifetime action items0 + + Attributes + ---------- + action : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0Action, default is Undefined, optional + action + trigger : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0Trigger, default is Undefined, optional + trigger + """ + + + action?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0Action + + trigger?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0Trigger + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0Action: + r""" + A action block as defined below. + + Attributes + ---------- + actionType : str, default is Undefined, optional + The Type of action to be performed when the lifetime trigger is triggerec. Possible values include AutoRenew and EmailContacts. + """ + + + actionType?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyLifetimeActionItems0Trigger: + r""" + A trigger block as defined below. + + Attributes + ---------- + daysBeforeExpiry : float, default is Undefined, optional + The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with lifetime_percentage. + lifetimePercentage : float, default is Undefined, optional + The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with days_before_expiry. + """ + + + daysBeforeExpiry?: float + + lifetimePercentage?: float + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicySecretProperties: + r""" + A secret_properties block as defined below. + + Attributes + ---------- + contentType : str, default is Undefined, optional + The Content-Type of the Certificate, such as application/x-pkcs12 for a PFX or application/x-pem-file for a PEM. + """ + + + contentType?: str + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyX509CertificateProperties: + r""" + A x509_certificate_properties block as defined below. Required when certificate block is not specified. + + Attributes + ---------- + extendedKeyUsage : [str], default is Undefined, optional + A list of Extended/Enhanced Key Usages. + keyUsage : [str], default is Undefined, optional + A list of uses associated with this Key. Possible values include cRLSign, dataEncipherment, decipherOnly, digitalSignature, encipherOnly, keyAgreement, keyCertSign, keyEncipherment and nonRepudiation and are case-sensitive. + subject : str, default is Undefined, optional + The Certificate's Subject. + subjectAlternativeNames : KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames, default is Undefined, optional + subject alternative names + validityInMonths : float, default is Undefined, optional + The Certificates Validity Period in Months. + """ + + + extendedKeyUsage?: [str] + + keyUsage?: [str] + + subject?: str + + subjectAlternativeNames?: KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames + + validityInMonths?: float + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusAtProviderCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames: + r""" + A subject_alternative_names block as defined below. + + Attributes + ---------- + dnsNames : [str], default is Undefined, optional + A list of alternative DNS names (FQDNs) identified by the Certificate. + emails : [str], default is Undefined, optional + A list of email addresses identified by this Certificate. + upns : [str], default is Undefined, optional + A list of User Principal Names identified by the Certificate. + """ + + + dnsNames?: [str] + + emails?: [str] + + upns?: [str] + + +schema KeyvaultAzureUpboundIoV1beta2CertificateStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta2/key.k b/io/upbound/azure/keyvault/v1beta2/key.k new file mode 100644 index 0000000..9b61839 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta2/key.k @@ -0,0 +1,835 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Key: + r""" + Key is the Schema for the Keys API. Manages a Key Vault Key. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta2", required + 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 + kind : str, default is "Key", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta2KeySpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta2KeyStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta2" = "keyvault.azure.upbound.io/v1beta2" + + kind: "Key" = "Key" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta2KeySpec + + status?: KeyvaultAzureUpboundIoV1beta2KeyStatus + + +schema KeyvaultAzureUpboundIoV1beta2KeySpec: + r""" + KeySpec defines the desired state of Key + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta2KeySpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta2KeySpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta2KeySpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta2KeySpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta2KeySpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta2KeySpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta2KeySpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProvider: + r""" + keyvault azure upbound io v1beta2 key spec for provider + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. The API will default to P-256 if nothing is specified. Changing this forces a new resource to be created. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. + keyOpts : [str], default is Undefined, optional + A list of JSON web key operations. Possible values include: decrypt, encrypt, sign, unwrapKey, verify and wrapKey. Please note these values are case sensitive. + keySize : float, default is Undefined, optional + Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. Note: This field is required if key_type is RSA or RSA-HSM. Changing this forces a new resource to be created. + keyType : str, default is Undefined, optional + Specifies the Key Type to use for this Key Vault Key. Possible values are EC (Elliptic Curve), EC-HSM, RSA and RSA-HSM. Changing this forces a new resource to be created. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Key. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + rotationPolicy : KeyvaultAzureUpboundIoV1beta2KeySpecForProviderRotationPolicy, default is Undefined, optional + rotation policy + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + curve?: str + + expirationDate?: str + + keyOpts?: [str] + + keySize?: float + + keyType?: str + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDSelector + + name?: str + + notBeforeDate?: str + + rotationPolicy?: KeyvaultAzureUpboundIoV1beta2KeySpecForProviderRotationPolicy + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProviderRotationPolicy: + r""" + A rotation_policy block as defined below. + + Attributes + ---------- + automatic : KeyvaultAzureUpboundIoV1beta2KeySpecForProviderRotationPolicyAutomatic, default is Undefined, optional + automatic + expireAfter : str, default is Undefined, optional + Expire a Key Vault Key after given duration as an ISO 8601 duration. + notifyBeforeExpiry : str, default is Undefined, optional + Notify at a given duration before expiry as an ISO 8601 duration. + """ + + + automatic?: KeyvaultAzureUpboundIoV1beta2KeySpecForProviderRotationPolicyAutomatic + + expireAfter?: str + + notifyBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecForProviderRotationPolicyAutomatic: + r""" + An automatic block as defined below. + + Attributes + ---------- + timeAfterCreation : str, default is Undefined, optional + Rotate automatically at a duration after create as an ISO 8601 duration. + timeBeforeExpiry : str, default is Undefined, optional + Rotate automatically at a duration before expiry as an ISO 8601 duration. + """ + + + timeAfterCreation?: str + + timeBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. The API will default to P-256 if nothing is specified. Changing this forces a new resource to be created. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. + keyOpts : [str], default is Undefined, optional + A list of JSON web key operations. Possible values include: decrypt, encrypt, sign, unwrapKey, verify and wrapKey. Please note these values are case sensitive. + keySize : float, default is Undefined, optional + Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. Note: This field is required if key_type is RSA or RSA-HSM. Changing this forces a new resource to be created. + keyType : str, default is Undefined, optional + Specifies the Key Type to use for this Key Vault Key. Possible values are EC (Elliptic Curve), EC-HSM, RSA and RSA-HSM. Changing this forces a new resource to be created. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. + keyVaultIdRef : KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDRef, default is Undefined, optional + key vault Id ref + keyVaultIdSelector : KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDSelector, default is Undefined, optional + key vault Id selector + name : str, default is Undefined, optional + Specifies the name of the Key Vault Key. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + rotationPolicy : KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderRotationPolicy, default is Undefined, optional + rotation policy + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + """ + + + curve?: str + + expirationDate?: str + + keyOpts?: [str] + + keySize?: float + + keyType?: str + + keyVaultId?: str + + keyVaultIdRef?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDRef + + keyVaultIdSelector?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDSelector + + name?: str + + notBeforeDate?: str + + rotationPolicy?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderRotationPolicy + + tags?: {str:str} + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDRef: + r""" + Reference to a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDSelector: + r""" + Selector for a Vault in keyvault to populate keyVaultId. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderKeyVaultIDSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderRotationPolicy: + r""" + A rotation_policy block as defined below. + + Attributes + ---------- + automatic : KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderRotationPolicyAutomatic, default is Undefined, optional + automatic + expireAfter : str, default is Undefined, optional + Expire a Key Vault Key after given duration as an ISO 8601 duration. + notifyBeforeExpiry : str, default is Undefined, optional + Notify at a given duration before expiry as an ISO 8601 duration. + """ + + + automatic?: KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderRotationPolicyAutomatic + + expireAfter?: str + + notifyBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecInitProviderRotationPolicyAutomatic: + r""" + An automatic block as defined below. + + Attributes + ---------- + timeAfterCreation : str, default is Undefined, optional + Rotate automatically at a duration after create as an ISO 8601 duration. + timeBeforeExpiry : str, default is Undefined, optional + Rotate automatically at a duration before expiry as an ISO 8601 duration. + """ + + + timeAfterCreation?: str + + timeBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2KeySpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2KeySpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeySpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2KeyStatus: + r""" + KeyStatus defines the observed state of Key. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta2KeyStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta2KeyStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta2KeyStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta2KeyStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta2KeyStatusAtProvider: + r""" + keyvault azure upbound io v1beta2 key status at provider + + Attributes + ---------- + curve : str, default is Undefined, optional + Specifies the curve to use when creating an EC key. Possible values are P-256, P-256K, P-384, and P-521. This field will be required in a future release if key_type is EC or EC-HSM. The API will default to P-256 if nothing is specified. Changing this forces a new resource to be created. + e : str, default is Undefined, optional + The RSA public exponent of this Key Vault Key. + expirationDate : str, default is Undefined, optional + Expiration UTC datetime (Y-m-d'T'H:M:S'Z'). When this parameter gets changed on reruns, if newer date is ahead of current date, an update is performed. If the newer date is before the current date, resource will be force created. + id : str, default is Undefined, optional + The Key Vault Key ID. + keyOpts : [str], default is Undefined, optional + A list of JSON web key operations. Possible values include: decrypt, encrypt, sign, unwrapKey, verify and wrapKey. Please note these values are case sensitive. + keySize : float, default is Undefined, optional + Specifies the Size of the RSA key to create in bytes. For example, 1024 or 2048. Note: This field is required if key_type is RSA or RSA-HSM. Changing this forces a new resource to be created. + keyType : str, default is Undefined, optional + Specifies the Key Type to use for this Key Vault Key. Possible values are EC (Elliptic Curve), EC-HSM, RSA and RSA-HSM. Changing this forces a new resource to be created. + keyVaultId : str, default is Undefined, optional + The ID of the Key Vault where the Key should be created. Changing this forces a new resource to be created. + n : str, default is Undefined, optional + The RSA modulus of this Key Vault Key. + name : str, default is Undefined, optional + Specifies the name of the Key Vault Key. Changing this forces a new resource to be created. + notBeforeDate : str, default is Undefined, optional + Key not usable before the provided UTC datetime (Y-m-d'T'H:M:S'Z'). + publicKeyOpenssh : str, default is Undefined, optional + The OpenSSH encoded public key of this Key Vault Key. + publicKeyPem : str, default is Undefined, optional + The PEM encoded public key of this Key Vault Key. + resourceId : str, default is Undefined, optional + The (Versioned) ID for this Key Vault Key. This property points to a specific version of a Key Vault Key, as such using this won't auto-rotate values if used in other Azure Services. + resourceVersionlessId : str, default is Undefined, optional + The Versionless ID of the Key Vault Key. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Key is updated. + rotationPolicy : KeyvaultAzureUpboundIoV1beta2KeyStatusAtProviderRotationPolicy, default is Undefined, optional + rotation policy + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + version : str, default is Undefined, optional + The current version of the Key Vault Key. + versionlessId : str, default is Undefined, optional + The Base ID of the Key Vault Key. + x : str, default is Undefined, optional + The EC X component of this Key Vault Key. + y : str, default is Undefined, optional + The EC Y component of this Key Vault Key. + """ + + + curve?: str + + e?: str + + expirationDate?: str + + id?: str + + keyOpts?: [str] + + keySize?: float + + keyType?: str + + keyVaultId?: str + + n?: str + + name?: str + + notBeforeDate?: str + + publicKeyOpenssh?: str + + publicKeyPem?: str + + resourceId?: str + + resourceVersionlessId?: str + + rotationPolicy?: KeyvaultAzureUpboundIoV1beta2KeyStatusAtProviderRotationPolicy + + tags?: {str:str} + + version?: str + + versionlessId?: str + + x?: str + + y?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeyStatusAtProviderRotationPolicy: + r""" + A rotation_policy block as defined below. + + Attributes + ---------- + automatic : KeyvaultAzureUpboundIoV1beta2KeyStatusAtProviderRotationPolicyAutomatic, default is Undefined, optional + automatic + expireAfter : str, default is Undefined, optional + Expire a Key Vault Key after given duration as an ISO 8601 duration. + notifyBeforeExpiry : str, default is Undefined, optional + Notify at a given duration before expiry as an ISO 8601 duration. + """ + + + automatic?: KeyvaultAzureUpboundIoV1beta2KeyStatusAtProviderRotationPolicyAutomatic + + expireAfter?: str + + notifyBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeyStatusAtProviderRotationPolicyAutomatic: + r""" + An automatic block as defined below. + + Attributes + ---------- + timeAfterCreation : str, default is Undefined, optional + Rotate automatically at a duration after create as an ISO 8601 duration. + timeBeforeExpiry : str, default is Undefined, optional + Rotate automatically at a duration before expiry as an ISO 8601 duration. + """ + + + timeAfterCreation?: str + + timeBeforeExpiry?: str + + +schema KeyvaultAzureUpboundIoV1beta2KeyStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta2/managedhardwaresecuritymodule.k b/io/upbound/azure/keyvault/v1beta2/managedhardwaresecuritymodule.k new file mode 100644 index 0000000..ac4bd0f --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta2/managedhardwaresecuritymodule.k @@ -0,0 +1,656 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ManagedHardwareSecurityModule: + r""" + ManagedHardwareSecurityModule is the Schema for the ManagedHardwareSecurityModules API. Manages a Key Vault Managed Hardware Security Module. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta2", required + 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 + kind : str, default is "ManagedHardwareSecurityModule", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta2" = "keyvault.azure.upbound.io/v1beta2" + + kind: "ManagedHardwareSecurityModule" = "ManagedHardwareSecurityModule" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpec + + status?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatus + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpec: + r""" + ManagedHardwareSecurityModuleSpec defines the desired state of ManagedHardwareSecurityModule + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProvider: + r""" + keyvault azure upbound io v1beta2 managed hardware security module spec for provider + + Attributes + ---------- + adminObjectIds : [str], default is Undefined, optional + Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderNetworkAcls, default is Undefined, optional + network acls + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether traffic from public networks is permitted. Defaults to true. Changing this forces a new resource to be created. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault Managed Hardware Security Module? Changing this forces a new resource to be created. + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault Managed Hardware Security Module. Changing this forces a new resource to be created. + resourceGroupNameRef : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRef, default is Undefined, optional + resource group name ref + resourceGroupNameSelector : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelector, default is Undefined, optional + resource group name selector + securityDomainKeyVaultCertificateIds : [str], default is Undefined, optional + A list of KeyVault certificates resource IDs (minimum of three and up to a maximum of 10) to activate this Managed HSM. More information see activate-your-managed-hsm + securityDomainQuorum : float, default is Undefined, optional + Specifies the minimum number of shares required to decrypt the security domain for recovery. This is required when security_domain_key_vault_certificate_ids is specified. Valid values are between 2 and 10. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault Managed Hardware Security Module. Possible value is Standard_B1. Changing this forces a new resource to be created. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days. Defaults to 90. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory Tenant ID that should be used for authenticating requests to the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + """ + + + adminObjectIds?: [str] + + location?: str + + networkAcls?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderNetworkAcls + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + resourceGroupNameRef?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRef + + resourceGroupNameSelector?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelector + + securityDomainKeyVaultCertificateIds?: [str] + + securityDomainQuorum?: float + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderNetworkAcls: + r""" + A network_acls block as defined below. + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use. Possible values are Allow and Deny. + """ + + + bypass?: str + + defaultAction?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRef: + r""" + Reference to a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelector: + r""" + Selector for a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecForProviderResourceGroupNameSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + adminObjectIds : [str], default is Undefined, optional + Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecInitProviderNetworkAcls, default is Undefined, optional + network acls + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether traffic from public networks is permitted. Defaults to true. Changing this forces a new resource to be created. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault Managed Hardware Security Module? Changing this forces a new resource to be created. + securityDomainKeyVaultCertificateIds : [str], default is Undefined, optional + A list of KeyVault certificates resource IDs (minimum of three and up to a maximum of 10) to activate this Managed HSM. More information see activate-your-managed-hsm + securityDomainQuorum : float, default is Undefined, optional + Specifies the minimum number of shares required to decrypt the security domain for recovery. This is required when security_domain_key_vault_certificate_ids is specified. Valid values are between 2 and 10. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault Managed Hardware Security Module. Possible value is Standard_B1. Changing this forces a new resource to be created. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days. Defaults to 90. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory Tenant ID that should be used for authenticating requests to the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + """ + + + adminObjectIds?: [str] + + location?: str + + networkAcls?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecInitProviderNetworkAcls + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + securityDomainKeyVaultCertificateIds?: [str] + + securityDomainQuorum?: float + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecInitProviderNetworkAcls: + r""" + A network_acls block as defined below. + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use. Possible values are Allow and Deny. + """ + + + bypass?: str + + defaultAction?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatus: + r""" + ManagedHardwareSecurityModuleStatus defines the observed state of ManagedHardwareSecurityModule. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusAtProvider: + r""" + keyvault azure upbound io v1beta2 managed hardware security module status at provider + + Attributes + ---------- + adminObjectIds : [str], default is Undefined, optional + Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + hsmUri : str, default is Undefined, optional + The URI of the Key Vault Managed Hardware Security Module, used for performing operations on keys. + id : str, default is Undefined, optional + The Key Vault Secret Managed Hardware Security Module ID. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusAtProviderNetworkAcls, default is Undefined, optional + network acls + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether traffic from public networks is permitted. Defaults to true. Changing this forces a new resource to be created. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault Managed Hardware Security Module? Changing this forces a new resource to be created. + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault Managed Hardware Security Module. Changing this forces a new resource to be created. + securityDomainKeyVaultCertificateIds : [str], default is Undefined, optional + A list of KeyVault certificates resource IDs (minimum of three and up to a maximum of 10) to activate this Managed HSM. More information see activate-your-managed-hsm + securityDomainQuorum : float, default is Undefined, optional + Specifies the minimum number of shares required to decrypt the security domain for recovery. This is required when security_domain_key_vault_certificate_ids is specified. Valid values are between 2 and 10. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault Managed Hardware Security Module. Possible value is Standard_B1. Changing this forces a new resource to be created. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days. Defaults to 90. Changing this forces a new resource to be created. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory Tenant ID that should be used for authenticating requests to the key vault Managed Hardware Security Module. Changing this forces a new resource to be created. + """ + + + adminObjectIds?: [str] + + hsmUri?: str + + id?: str + + location?: str + + networkAcls?: KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusAtProviderNetworkAcls + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + securityDomainKeyVaultCertificateIds?: [str] + + securityDomainQuorum?: float + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusAtProviderNetworkAcls: + r""" + A network_acls block as defined below. + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use. Possible values are Allow and Deny. + """ + + + bypass?: str + + defaultAction?: str + + +schema KeyvaultAzureUpboundIoV1beta2ManagedHardwareSecurityModuleStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/keyvault/v1beta2/vault.k b/io/upbound/azure/keyvault/v1beta2/vault.k new file mode 100644 index 0000000..f6f9b76 --- /dev/null +++ b/io/upbound/azure/keyvault/v1beta2/vault.k @@ -0,0 +1,812 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Vault: + r""" + Vault is the Schema for the Vaults API. Manages a Key Vault. + + Attributes + ---------- + apiVersion : str, default is "keyvault.azure.upbound.io/v1beta2", required + 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 + kind : str, default is "Vault", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : KeyvaultAzureUpboundIoV1beta2VaultSpec, default is Undefined, required + spec + status : KeyvaultAzureUpboundIoV1beta2VaultStatus, default is Undefined, optional + status + """ + + + apiVersion: "keyvault.azure.upbound.io/v1beta2" = "keyvault.azure.upbound.io/v1beta2" + + kind: "Vault" = "Vault" + + metadata?: v1.ObjectMeta + + spec: KeyvaultAzureUpboundIoV1beta2VaultSpec + + status?: KeyvaultAzureUpboundIoV1beta2VaultStatus + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpec: + r""" + VaultSpec defines the desired state of Vault + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : KeyvaultAzureUpboundIoV1beta2VaultSpecForProvider, default is Undefined, required + for provider + initProvider : KeyvaultAzureUpboundIoV1beta2VaultSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : KeyvaultAzureUpboundIoV1beta2VaultSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : KeyvaultAzureUpboundIoV1beta2VaultSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: KeyvaultAzureUpboundIoV1beta2VaultSpecForProvider + + initProvider?: KeyvaultAzureUpboundIoV1beta2VaultSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: KeyvaultAzureUpboundIoV1beta2VaultSpecProviderConfigRef + + publishConnectionDetailsTo?: KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: KeyvaultAzureUpboundIoV1beta2VaultSpecWriteConnectionSecretToRef + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProvider: + r""" + keyvault azure upbound io v1beta2 vault spec for provider + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderContactItems0], default is Undefined, optional + One or more contact block as defined below. + enableRbacAuthorization : bool, default is Undefined, optional + Boolean flag to specify whether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions. + enabledForDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. + enabledForDiskEncryption : bool, default is Undefined, optional + Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. + enabledForTemplateDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderNetworkAcls, default is Undefined, optional + network acls + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether public network access is allowed for this Key Vault. Defaults to true. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault? + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault. Changing this forces a new resource to be created. + resourceGroupNameRef : KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameRef, default is Undefined, optional + resource group name ref + resourceGroupNameSelector : KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameSelector, default is Undefined, optional + resource group name selector + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault. Possible values are standard and premium. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 (the default) days. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderContactItems0] + + enableRbacAuthorization?: bool + + enabledForDeployment?: bool + + enabledForDiskEncryption?: bool + + enabledForTemplateDeployment?: bool + + location?: str + + networkAcls?: KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderNetworkAcls + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + resourceGroupNameRef?: KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameRef + + resourceGroupNameSelector?: KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameSelector + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderContactItems0: + r""" + keyvault azure upbound io v1beta2 vault spec for provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderNetworkAcls: + r""" + A network_acls block as defined below. + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny. + ipRules : [str], default is Undefined, optional + One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. + virtualNetworkSubnetIds : [str], default is Undefined, optional + One or more Subnet IDs which should be able to access this Key Vault. + """ + + + bypass?: str + + defaultAction?: str + + ipRules?: [str] + + virtualNetworkSubnetIds?: [str] + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameRef: + r""" + Reference to a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameSelector: + r""" + Selector for a ResourceGroup in azure to populate resourceGroupName. + + Attributes + ---------- + matchControllerRef : bool, default is Undefined, optional + MatchControllerRef ensures an object with the same controller reference + as the selecting object is selected. + matchLabels : {str:str}, default is Undefined, optional + MatchLabels ensures an object with matching labels is selected. + policy : KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameSelectorPolicy, default is Undefined, optional + policy + """ + + + matchControllerRef?: bool + + matchLabels?: {str:str} + + policy?: KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameSelectorPolicy + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecForProviderResourceGroupNameSelectorPolicy: + r""" + Policies for selection. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + contact : [KeyvaultAzureUpboundIoV1beta2VaultSpecInitProviderContactItems0], default is Undefined, optional + One or more contact block as defined below. + enableRbacAuthorization : bool, default is Undefined, optional + Boolean flag to specify whether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions. + enabledForDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. + enabledForDiskEncryption : bool, default is Undefined, optional + Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. + enabledForTemplateDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : KeyvaultAzureUpboundIoV1beta2VaultSpecInitProviderNetworkAcls, default is Undefined, optional + network acls + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether public network access is allowed for this Key Vault. Defaults to true. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault? + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault. Possible values are standard and premium. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 (the default) days. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + """ + + + contact?: [KeyvaultAzureUpboundIoV1beta2VaultSpecInitProviderContactItems0] + + enableRbacAuthorization?: bool + + enabledForDeployment?: bool + + enabledForDiskEncryption?: bool + + enabledForTemplateDeployment?: bool + + location?: str + + networkAcls?: KeyvaultAzureUpboundIoV1beta2VaultSpecInitProviderNetworkAcls + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecInitProviderContactItems0: + r""" + keyvault azure upbound io v1beta2 vault spec init provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecInitProviderNetworkAcls: + r""" + A network_acls block as defined below. + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny. + ipRules : [str], default is Undefined, optional + One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. + virtualNetworkSubnetIds : [str], default is Undefined, optional + One or more Subnet IDs which should be able to access this Key Vault. + """ + + + bypass?: str + + defaultAction?: str + + ipRules?: [str] + + virtualNetworkSubnetIds?: [str] + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2VaultSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2VaultSpecProviderConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToConfigRef + + metadata?: KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToMetadata + + name: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToConfigRefPolicy + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultStatus: + r""" + VaultStatus defines the observed state of Vault. + + Attributes + ---------- + atProvider : KeyvaultAzureUpboundIoV1beta2VaultStatusAtProvider, default is Undefined, optional + at provider + conditions : [KeyvaultAzureUpboundIoV1beta2VaultStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: KeyvaultAzureUpboundIoV1beta2VaultStatusAtProvider + + conditions?: [KeyvaultAzureUpboundIoV1beta2VaultStatusConditionsItems0] + + observedGeneration?: int + + +schema KeyvaultAzureUpboundIoV1beta2VaultStatusAtProvider: + r""" + keyvault azure upbound io v1beta2 vault status at provider + + Attributes + ---------- + accessPolicy : [KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderAccessPolicyItems0], default is Undefined, optional + A list of access_policy objects (up to 1024) describing access policies, as described below. + contact : [KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderContactItems0], default is Undefined, optional + One or more contact block as defined below. + enableRbacAuthorization : bool, default is Undefined, optional + Boolean flag to specify whether Azure Key Vault uses Role Based Access Control (RBAC) for authorization of data actions. + enabledForDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. + enabledForDiskEncryption : bool, default is Undefined, optional + Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. + enabledForTemplateDeployment : bool, default is Undefined, optional + Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. + id : str, default is Undefined, optional + The ID of the Key Vault. + location : str, default is Undefined, optional + Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. + networkAcls : KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderNetworkAcls, default is Undefined, optional + network acls + publicNetworkAccessEnabled : bool, default is Undefined, optional + Whether public network access is allowed for this Key Vault. Defaults to true. + purgeProtectionEnabled : bool, default is Undefined, optional + Is Purge Protection enabled for this Key Vault? + resourceGroupName : str, default is Undefined, optional + The name of the resource group in which to create the Key Vault. Changing this forces a new resource to be created. + skuName : str, default is Undefined, optional + The Name of the SKU used for this Key Vault. Possible values are standard and premium. + softDeleteRetentionDays : float, default is Undefined, optional + The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 (the default) days. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the resource. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. + vaultUri : str, default is Undefined, optional + The URI of the Key Vault, used for performing operations on keys and secrets. + """ + + + accessPolicy?: [KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderAccessPolicyItems0] + + contact?: [KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderContactItems0] + + enableRbacAuthorization?: bool + + enabledForDeployment?: bool + + enabledForDiskEncryption?: bool + + enabledForTemplateDeployment?: bool + + id?: str + + location?: str + + networkAcls?: KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderNetworkAcls + + publicNetworkAccessEnabled?: bool + + purgeProtectionEnabled?: bool + + resourceGroupName?: str + + skuName?: str + + softDeleteRetentionDays?: float + + tags?: {str:str} + + tenantId?: str + + vaultUri?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderAccessPolicyItems0: + r""" + keyvault azure upbound io v1beta2 vault status at provider access policy items0 + + Attributes + ---------- + applicationId : str, default is Undefined, optional + The object ID of an Application in Azure Active Directory. + certificatePermissions : [str], default is Undefined, optional + List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update. + keyPermissions : [str], default is Undefined, optional + List of key permissions. Possible values are Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy. + objectId : str, default is Undefined, optional + The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies. + secretPermissions : [str], default is Undefined, optional + List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set. + storagePermissions : [str], default is Undefined, optional + List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update. + tenantId : str, default is Undefined, optional + The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. Must match the tenant_id used above. + """ + + + applicationId?: str + + certificatePermissions?: [str] + + keyPermissions?: [str] + + objectId?: str + + secretPermissions?: [str] + + storagePermissions?: [str] + + tenantId?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderContactItems0: + r""" + keyvault azure upbound io v1beta2 vault status at provider contact items0 + + Attributes + ---------- + email : str, default is Undefined, optional + E-mail address of the contact. + name : str, default is Undefined, optional + Name of the contact. + phone : str, default is Undefined, optional + Phone number of the contact. + """ + + + email?: str + + name?: str + + phone?: str + + +schema KeyvaultAzureUpboundIoV1beta2VaultStatusAtProviderNetworkAcls: + r""" + A network_acls block as defined below. + + Attributes + ---------- + bypass : str, default is Undefined, optional + Specifies which traffic can bypass the network rules. Possible values are AzureServices and None. + defaultAction : str, default is Undefined, optional + The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny. + ipRules : [str], default is Undefined, optional + One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. + virtualNetworkSubnetIds : [str], default is Undefined, optional + One or more Subnet IDs which should be able to access this Key Vault. + """ + + + bypass?: str + + defaultAction?: str + + ipRules?: [str] + + virtualNetworkSubnetIds?: [str] + + +schema KeyvaultAzureUpboundIoV1beta2VaultStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/v1alpha1/storeconfig.k b/io/upbound/azure/v1alpha1/storeconfig.k new file mode 100644 index 0000000..12cac5c --- /dev/null +++ b/io/upbound/azure/v1alpha1/storeconfig.k @@ -0,0 +1,257 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema StoreConfig: + r""" + A StoreConfig configures how Azure controller should store connection details. + + Attributes + ---------- + apiVersion : str, default is "azure.upbound.io/v1alpha1", required + 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 + kind : str, default is "StoreConfig", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : AzureUpboundIoV1alpha1StoreConfigSpec, default is Undefined, required + spec + status : AzureUpboundIoV1alpha1StoreConfigStatus, default is Undefined, optional + status + """ + + + apiVersion: "azure.upbound.io/v1alpha1" = "azure.upbound.io/v1alpha1" + + kind: "StoreConfig" = "StoreConfig" + + metadata?: v1.ObjectMeta + + spec: AzureUpboundIoV1alpha1StoreConfigSpec + + status?: AzureUpboundIoV1alpha1StoreConfigStatus + + +schema AzureUpboundIoV1alpha1StoreConfigSpec: + r""" + A StoreConfigSpec defines the desired state of a StoreConfig. + + Attributes + ---------- + defaultScope : str, default is Undefined, required + DefaultScope used for scoping secrets for "cluster-scoped" resources. + If store type is "Kubernetes", this would mean the default namespace to + store connection secrets for cluster scoped resources. + In case of "Vault", this would be used as the default parent path. + Typically, should be set as Crossplane installation namespace. + kubernetes : AzureUpboundIoV1alpha1StoreConfigSpecKubernetes, default is Undefined, optional + kubernetes + plugin : AzureUpboundIoV1alpha1StoreConfigSpecPlugin, default is Undefined, optional + plugin + $type : str, default is "Kubernetes", optional + Type configures which secret store to be used. Only the configuration + block for this store will be used and others will be ignored if provided. + Default is Kubernetes. + """ + + + defaultScope: str + + kubernetes?: AzureUpboundIoV1alpha1StoreConfigSpecKubernetes + + plugin?: AzureUpboundIoV1alpha1StoreConfigSpecPlugin + + $type?: "Kubernetes" | "Vault" | "Plugin" = "Kubernetes" + + +schema AzureUpboundIoV1alpha1StoreConfigSpecKubernetes: + r""" + Kubernetes configures a Kubernetes secret store. + If the "type" is "Kubernetes" but no config provided, in cluster config + will be used. + + Attributes + ---------- + auth : AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuth, default is Undefined, required + auth + """ + + + auth: AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuth + + +schema AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuth: + r""" + Credentials used to connect to the Kubernetes API. + + Attributes + ---------- + env : AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthEnv, default is Undefined, optional + env + fs : AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthFs, default is Undefined, optional + fs + secretRef : AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthSecretRef, default is Undefined, optional + secret ref + source : str, default is Undefined, required + Source of the credentials. + """ + + + env?: AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthEnv + + fs?: AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthFs + + secretRef?: AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthSecretRef + + source: "None" | "Secret" | "Environment" | "Filesystem" + + +schema AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthEnv: + r""" + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. + + Attributes + ---------- + name : str, default is Undefined, required + Name is the name of an environment variable. + """ + + + name: str + + +schema AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthFs: + r""" + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. + + Attributes + ---------- + path : str, default is Undefined, required + Path is a filesystem path. + """ + + + path: str + + +schema AzureUpboundIoV1alpha1StoreConfigSpecKubernetesAuthSecretRef: + r""" + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema AzureUpboundIoV1alpha1StoreConfigSpecPlugin: + r""" + Plugin configures External secret store as a plugin. + + Attributes + ---------- + configRef : AzureUpboundIoV1alpha1StoreConfigSpecPluginConfigRef, default is Undefined, optional + config ref + endpoint : str, default is Undefined, optional + Endpoint is the endpoint of the gRPC server. + """ + + + configRef?: AzureUpboundIoV1alpha1StoreConfigSpecPluginConfigRef + + endpoint?: str + + +schema AzureUpboundIoV1alpha1StoreConfigSpecPluginConfigRef: + r""" + ConfigRef contains store config reference info. + + Attributes + ---------- + apiVersion : str, default is Undefined, required + APIVersion of the referenced config. + kind : str, default is Undefined, required + Kind of the referenced config. + name : str, default is Undefined, required + Name of the referenced config. + """ + + + apiVersion: str + + kind: str + + name: str + + +schema AzureUpboundIoV1alpha1StoreConfigStatus: + r""" + A StoreConfigStatus represents the status of a StoreConfig. + + Attributes + ---------- + conditions : [AzureUpboundIoV1alpha1StoreConfigStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + """ + + + conditions?: [AzureUpboundIoV1alpha1StoreConfigStatusConditionsItems0] + + +schema AzureUpboundIoV1alpha1StoreConfigStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/v1beta1/providerconfig.k b/io/upbound/azure/v1beta1/providerconfig.k new file mode 100644 index 0000000..8d28338 --- /dev/null +++ b/io/upbound/azure/v1beta1/providerconfig.k @@ -0,0 +1,221 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ProviderConfig: + r""" + A ProviderConfig configures the Azure provider. + + Attributes + ---------- + apiVersion : str, default is "azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ProviderConfig", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : AzureUpboundIoV1beta1ProviderConfigSpec, default is Undefined, required + spec + status : AzureUpboundIoV1beta1ProviderConfigStatus, default is Undefined, optional + status + """ + + + apiVersion: "azure.upbound.io/v1beta1" = "azure.upbound.io/v1beta1" + + kind: "ProviderConfig" = "ProviderConfig" + + metadata?: v1.ObjectMeta + + spec: AzureUpboundIoV1beta1ProviderConfigSpec + + status?: AzureUpboundIoV1beta1ProviderConfigStatus + + +schema AzureUpboundIoV1beta1ProviderConfigSpec: + r""" + A ProviderConfigSpec defines the desired state of a ProviderConfig. + + Attributes + ---------- + clientID : str, default is Undefined, optional + ClientID is the user-assigned managed identity's ID + when Credentials.Source is `InjectedIdentity`. If unset and + Credentials.Source is `InjectedIdentity`, then a system-assigned + managed identity is used. + credentials : AzureUpboundIoV1beta1ProviderConfigSpecCredentials, default is Undefined, required + credentials + environment : str, default is Undefined, optional + The Cloud Environment which should be used. Possible values are "public", + "usgovernment", "german", and "china". Defaults to "public". + msiEndpoint : str, default is Undefined, optional + MSIEndpoint is the optional path to a custom endpoint for + Managed Service Identity. + oidcTokenFilePath : str, default is Undefined, optional + OIDCTokenFilePath is the optional path to a token file + that allows to access a managed identity. + subscriptionID : str, default is Undefined, optional + SubscriptionID is the Azure subscription ID to be used. + If unset, subscription ID from Credentials will be used. + Required if Credentials.Source is InjectedIdentity. + tenantID : str, default is Undefined, optional + TenantID is the Azure AD tenant ID to be used. + If unset, tenant ID from Credentials will be used. + Required if Credentials.Source is InjectedIdentity. + """ + + + clientID?: str + + credentials: AzureUpboundIoV1beta1ProviderConfigSpecCredentials + + environment?: str + + msiEndpoint?: str + + oidcTokenFilePath?: str + + subscriptionID?: str + + tenantID?: str + + +schema AzureUpboundIoV1beta1ProviderConfigSpecCredentials: + r""" + Credentials required to authenticate to this provider. + + Attributes + ---------- + env : AzureUpboundIoV1beta1ProviderConfigSpecCredentialsEnv, default is Undefined, optional + env + fs : AzureUpboundIoV1beta1ProviderConfigSpecCredentialsFs, default is Undefined, optional + fs + secretRef : AzureUpboundIoV1beta1ProviderConfigSpecCredentialsSecretRef, default is Undefined, optional + secret ref + source : str, default is Undefined, required + Source of the provider credentials. + """ + + + env?: AzureUpboundIoV1beta1ProviderConfigSpecCredentialsEnv + + fs?: AzureUpboundIoV1beta1ProviderConfigSpecCredentialsFs + + secretRef?: AzureUpboundIoV1beta1ProviderConfigSpecCredentialsSecretRef + + source: "None" | "Secret" | "UserAssignedManagedIdentity" | "SystemAssignedManagedIdentity" | "OIDCTokenFile" | "Upbound" | "Filesystem" + + +schema AzureUpboundIoV1beta1ProviderConfigSpecCredentialsEnv: + r""" + Env is a reference to an environment variable that contains credentials + that must be used to connect to the provider. + + Attributes + ---------- + name : str, default is Undefined, required + Name is the name of an environment variable. + """ + + + name: str + + +schema AzureUpboundIoV1beta1ProviderConfigSpecCredentialsFs: + r""" + Fs is a reference to a filesystem location that contains credentials that + must be used to connect to the provider. + + Attributes + ---------- + path : str, default is Undefined, required + Path is a filesystem path. + """ + + + path: str + + +schema AzureUpboundIoV1beta1ProviderConfigSpecCredentialsSecretRef: + r""" + A SecretRef is a reference to a secret key that contains the credentials + that must be used to connect to the provider. + + Attributes + ---------- + key : str, default is Undefined, required + The key to select. + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + key: str + + name: str + + namespace: str + + +schema AzureUpboundIoV1beta1ProviderConfigStatus: + r""" + A ProviderConfigStatus reflects the observed state of a ProviderConfig. + + Attributes + ---------- + conditions : [AzureUpboundIoV1beta1ProviderConfigStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + users : int, default is Undefined, optional + Users of this provider configuration. + """ + + + conditions?: [AzureUpboundIoV1beta1ProviderConfigStatusConditionsItems0] + + users?: int + + +schema AzureUpboundIoV1beta1ProviderConfigStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/v1beta1/providerconfigusage.k b/io/upbound/azure/v1beta1/providerconfigusage.k new file mode 100644 index 0000000..4d47f53 --- /dev/null +++ b/io/upbound/azure/v1beta1/providerconfigusage.k @@ -0,0 +1,106 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ProviderConfigUsage: + r""" + A ProviderConfigUsage indicates that a resource is using a ProviderConfig. + Please replace `PROVIDER-NAME` with your actual provider name, like `aws`, `azure`, `gcp`, `alibaba` + + Attributes + ---------- + apiVersion : str, default is "azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ProviderConfigUsage", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + providerConfigRef : AzureUpboundIoV1beta1ProviderConfigUsageProviderConfigRef, default is Undefined, required + provider config ref + resourceRef : AzureUpboundIoV1beta1ProviderConfigUsageResourceRef, default is Undefined, required + resource ref + """ + + + apiVersion: "azure.upbound.io/v1beta1" = "azure.upbound.io/v1beta1" + + kind: "ProviderConfigUsage" = "ProviderConfigUsage" + + metadata?: v1.ObjectMeta + + providerConfigRef: AzureUpboundIoV1beta1ProviderConfigUsageProviderConfigRef + + resourceRef: AzureUpboundIoV1beta1ProviderConfigUsageResourceRef + + +schema AzureUpboundIoV1beta1ProviderConfigUsageProviderConfigRef: + r""" + ProviderConfigReference to the provider config being used. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1ProviderConfigUsageProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1ProviderConfigUsageProviderConfigRefPolicy + + +schema AzureUpboundIoV1beta1ProviderConfigUsageProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1ProviderConfigUsageResourceRef: + r""" + ResourceReference to the managed resource using the provider config. + + Attributes + ---------- + apiVersion : str, default is Undefined, required + APIVersion of the referenced object. + kind : str, default is Undefined, required + Kind of the referenced object. + name : str, default is Undefined, required + Name of the referenced object. + uid : str, default is Undefined, optional + UID of the referenced object. + """ + + + apiVersion: str + + kind: str + + name: str + + uid?: str + + diff --git a/io/upbound/azure/v1beta1/resourcegroup.k b/io/upbound/azure/v1beta1/resourcegroup.k new file mode 100644 index 0000000..f5301d5 --- /dev/null +++ b/io/upbound/azure/v1beta1/resourcegroup.k @@ -0,0 +1,397 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ResourceGroup: + r""" + ResourceGroup is the Schema for the ResourceGroups API. Manages a Resource Group. + + Attributes + ---------- + apiVersion : str, default is "azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ResourceGroup", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : AzureUpboundIoV1beta1ResourceGroupSpec, default is Undefined, required + spec + status : AzureUpboundIoV1beta1ResourceGroupStatus, default is Undefined, optional + status + """ + + + apiVersion: "azure.upbound.io/v1beta1" = "azure.upbound.io/v1beta1" + + kind: "ResourceGroup" = "ResourceGroup" + + metadata?: v1.ObjectMeta + + spec: AzureUpboundIoV1beta1ResourceGroupSpec + + status?: AzureUpboundIoV1beta1ResourceGroupStatus + + +schema AzureUpboundIoV1beta1ResourceGroupSpec: + r""" + ResourceGroupSpec defines the desired state of ResourceGroup + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : AzureUpboundIoV1beta1ResourceGroupSpecForProvider, default is Undefined, required + for provider + initProvider : AzureUpboundIoV1beta1ResourceGroupSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : AzureUpboundIoV1beta1ResourceGroupSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : AzureUpboundIoV1beta1ResourceGroupSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: AzureUpboundIoV1beta1ResourceGroupSpecForProvider + + initProvider?: AzureUpboundIoV1beta1ResourceGroupSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: AzureUpboundIoV1beta1ResourceGroupSpecProviderConfigRef + + publishConnectionDetailsTo?: AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: AzureUpboundIoV1beta1ResourceGroupSpecWriteConnectionSecretToRef + + +schema AzureUpboundIoV1beta1ResourceGroupSpecForProvider: + r""" + azure upbound io v1beta1 resource group spec for provider + + Attributes + ---------- + location : str, default is Undefined, optional + The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. + managedBy : str, default is Undefined, optional + The ID of the resource or application that manages this Resource Group. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the Resource Group. + """ + + + location?: str + + managedBy?: str + + tags?: {str:str} + + +schema AzureUpboundIoV1beta1ResourceGroupSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + location : str, default is Undefined, optional + The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. + managedBy : str, default is Undefined, optional + The ID of the resource or application that manages this Resource Group. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the Resource Group. + """ + + + location?: str + + managedBy?: str + + tags?: {str:str} + + +schema AzureUpboundIoV1beta1ResourceGroupSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1ResourceGroupSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1ResourceGroupSpecProviderConfigRefPolicy + + +schema AzureUpboundIoV1beta1ResourceGroupSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToConfigRef + + metadata?: AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToMetadata + + name: str + + +schema AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToConfigRefPolicy + + +schema AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1ResourceGroupSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema AzureUpboundIoV1beta1ResourceGroupSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema AzureUpboundIoV1beta1ResourceGroupStatus: + r""" + ResourceGroupStatus defines the observed state of ResourceGroup. + + Attributes + ---------- + atProvider : AzureUpboundIoV1beta1ResourceGroupStatusAtProvider, default is Undefined, optional + at provider + conditions : [AzureUpboundIoV1beta1ResourceGroupStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: AzureUpboundIoV1beta1ResourceGroupStatusAtProvider + + conditions?: [AzureUpboundIoV1beta1ResourceGroupStatusConditionsItems0] + + observedGeneration?: int + + +schema AzureUpboundIoV1beta1ResourceGroupStatusAtProvider: + r""" + azure upbound io v1beta1 resource group status at provider + + Attributes + ---------- + id : str, default is Undefined, optional + The ID of the Resource Group. + location : str, default is Undefined, optional + The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created. + managedBy : str, default is Undefined, optional + The ID of the resource or application that manages this Resource Group. + tags : {str:str}, default is Undefined, optional + A mapping of tags which should be assigned to the Resource Group. + """ + + + id?: str + + location?: str + + managedBy?: str + + tags?: {str:str} + + +schema AzureUpboundIoV1beta1ResourceGroupStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/v1beta1/resourceproviderregistration.k b/io/upbound/azure/v1beta1/resourceproviderregistration.k new file mode 100644 index 0000000..a2f6ddd --- /dev/null +++ b/io/upbound/azure/v1beta1/resourceproviderregistration.k @@ -0,0 +1,439 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema ResourceProviderRegistration: + r""" + ResourceProviderRegistration is the Schema for the ResourceProviderRegistrations API. Manages the Registration of a Resource Provider. + + Attributes + ---------- + apiVersion : str, default is "azure.upbound.io/v1beta1", required + 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 + kind : str, default is "ResourceProviderRegistration", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : AzureUpboundIoV1beta1ResourceProviderRegistrationSpec, default is Undefined, required + spec + status : AzureUpboundIoV1beta1ResourceProviderRegistrationStatus, default is Undefined, optional + status + """ + + + apiVersion: "azure.upbound.io/v1beta1" = "azure.upbound.io/v1beta1" + + kind: "ResourceProviderRegistration" = "ResourceProviderRegistration" + + metadata?: v1.ObjectMeta + + spec: AzureUpboundIoV1beta1ResourceProviderRegistrationSpec + + status?: AzureUpboundIoV1beta1ResourceProviderRegistrationStatus + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpec: + r""" + ResourceProviderRegistrationSpec defines the desired state of ResourceProviderRegistration + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecForProvider, default is Undefined, required + for provider + initProvider : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecForProvider + + initProvider?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecProviderConfigRef + + publishConnectionDetailsTo?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecWriteConnectionSecretToRef + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecForProvider: + r""" + azure upbound io v1beta1 resource provider registration spec for provider + + Attributes + ---------- + feature : [AzureUpboundIoV1beta1ResourceProviderRegistrationSpecForProviderFeatureItems0], default is Undefined, optional + A list of feature blocks as defined below. + name : str, default is Undefined, optional + The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created. + """ + + + feature?: [AzureUpboundIoV1beta1ResourceProviderRegistrationSpecForProviderFeatureItems0] + + name?: str + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecForProviderFeatureItems0: + r""" + azure upbound io v1beta1 resource provider registration spec for provider feature items0 + + Attributes + ---------- + name : str, default is Undefined, optional + Specifies the name of the feature to register. + registered : bool, default is Undefined, optional + Should this feature be Registered or Unregistered? + """ + + + name?: str + + registered?: bool + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + feature : [AzureUpboundIoV1beta1ResourceProviderRegistrationSpecInitProviderFeatureItems0], default is Undefined, optional + A list of feature blocks as defined below. + name : str, default is Undefined, optional + The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created. + """ + + + feature?: [AzureUpboundIoV1beta1ResourceProviderRegistrationSpecInitProviderFeatureItems0] + + name?: str + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecInitProviderFeatureItems0: + r""" + azure upbound io v1beta1 resource provider registration spec init provider feature items0 + + Attributes + ---------- + name : str, default is Undefined, optional + Specifies the name of the feature to register. + registered : bool, default is Undefined, optional + Should this feature be Registered or Unregistered? + """ + + + name?: str + + registered?: bool + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecProviderConfigRefPolicy + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToConfigRef + + metadata?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToMetadata + + name: str + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToConfigRefPolicy + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationStatus: + r""" + ResourceProviderRegistrationStatus defines the observed state of ResourceProviderRegistration. + + Attributes + ---------- + atProvider : AzureUpboundIoV1beta1ResourceProviderRegistrationStatusAtProvider, default is Undefined, optional + at provider + conditions : [AzureUpboundIoV1beta1ResourceProviderRegistrationStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: AzureUpboundIoV1beta1ResourceProviderRegistrationStatusAtProvider + + conditions?: [AzureUpboundIoV1beta1ResourceProviderRegistrationStatusConditionsItems0] + + observedGeneration?: int + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationStatusAtProvider: + r""" + azure upbound io v1beta1 resource provider registration status at provider + + Attributes + ---------- + feature : [AzureUpboundIoV1beta1ResourceProviderRegistrationStatusAtProviderFeatureItems0], default is Undefined, optional + A list of feature blocks as defined below. + id : str, default is Undefined, optional + id + name : str, default is Undefined, optional + The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created. + """ + + + feature?: [AzureUpboundIoV1beta1ResourceProviderRegistrationStatusAtProviderFeatureItems0] + + id?: str + + name?: str + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationStatusAtProviderFeatureItems0: + r""" + azure upbound io v1beta1 resource provider registration status at provider feature items0 + + Attributes + ---------- + name : str, default is Undefined, optional + Specifies the name of the feature to register. + registered : bool, default is Undefined, optional + Should this feature be Registered or Unregistered? + """ + + + name?: str + + registered?: bool + + +schema AzureUpboundIoV1beta1ResourceProviderRegistrationStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/io/upbound/azure/v1beta1/subscription.k b/io/upbound/azure/v1beta1/subscription.k new file mode 100644 index 0000000..9819916 --- /dev/null +++ b/io/upbound/azure/v1beta1/subscription.k @@ -0,0 +1,435 @@ +""" +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" +import k8s.apimachinery.pkg.apis.meta.v1 + + +schema Subscription: + r""" + Subscription is the Schema for the Subscriptions API. Manages a Subscription. + + Attributes + ---------- + apiVersion : str, default is "azure.upbound.io/v1beta1", required + 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 + kind : str, default is "Subscription", required + 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 + metadata : v1.ObjectMeta, default is Undefined, optional + metadata + spec : AzureUpboundIoV1beta1SubscriptionSpec, default is Undefined, required + spec + status : AzureUpboundIoV1beta1SubscriptionStatus, default is Undefined, optional + status + """ + + + apiVersion: "azure.upbound.io/v1beta1" = "azure.upbound.io/v1beta1" + + kind: "Subscription" = "Subscription" + + metadata?: v1.ObjectMeta + + spec: AzureUpboundIoV1beta1SubscriptionSpec + + status?: AzureUpboundIoV1beta1SubscriptionStatus + + +schema AzureUpboundIoV1beta1SubscriptionSpec: + r""" + SubscriptionSpec defines the desired state of Subscription + + Attributes + ---------- + deletionPolicy : str, default is "Delete", optional + DeletionPolicy specifies what will happen to the underlying external + when this managed resource is deleted - either "Delete" or "Orphan" the + external resource. + This field is planned to be deprecated in favor of the ManagementPolicies + field in a future release. Currently, both could be set independently and + non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + forProvider : AzureUpboundIoV1beta1SubscriptionSpecForProvider, default is Undefined, required + for provider + initProvider : AzureUpboundIoV1beta1SubscriptionSpecInitProvider, default is Undefined, optional + init provider + managementPolicies : [str], default is ["*"], optional + THIS IS A BETA FIELD. It is on by default but can be opted out + through a Crossplane feature flag. + ManagementPolicies specify the array of actions Crossplane is allowed to + take on the managed and external resources. + This field is planned to replace the DeletionPolicy field in a future + release. Currently, both could be set independently and non-default + values would be honored if the feature flag is enabled. If both are + custom, the DeletionPolicy field will be ignored. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 + and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md + providerConfigRef : AzureUpboundIoV1beta1SubscriptionSpecProviderConfigRef, default is Undefined, optional + provider config ref + publishConnectionDetailsTo : AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsTo, default is Undefined, optional + publish connection details to + writeConnectionSecretToRef : AzureUpboundIoV1beta1SubscriptionSpecWriteConnectionSecretToRef, default is Undefined, optional + write connection secret to ref + """ + + + deletionPolicy?: "Orphan" | "Delete" = "Delete" + + forProvider: AzureUpboundIoV1beta1SubscriptionSpecForProvider + + initProvider?: AzureUpboundIoV1beta1SubscriptionSpecInitProvider + + managementPolicies?: [str] = ["*"] + + providerConfigRef?: AzureUpboundIoV1beta1SubscriptionSpecProviderConfigRef + + publishConnectionDetailsTo?: AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsTo + + writeConnectionSecretToRef?: AzureUpboundIoV1beta1SubscriptionSpecWriteConnectionSecretToRef + + +schema AzureUpboundIoV1beta1SubscriptionSpecForProvider: + r""" + azure upbound io v1beta1 subscription spec for provider + + Attributes + ---------- + billingScopeId : str, default is Undefined, optional + The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. + subscriptionId : str, default is Undefined, optional + The ID of the Subscription. Changing this forces a new Subscription to be created. + The GUID of the Subscription. + subscriptionName : str, default is Undefined, optional + The Name of the Subscription. This is the Display Name in the portal. + The Display Name for the Subscription. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the Subscription. + workload : str, default is Undefined, optional + The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created. + The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`. + """ + + + billingScopeId?: str + + subscriptionId?: str + + subscriptionName?: str + + tags?: {str:str} + + workload?: str + + +schema AzureUpboundIoV1beta1SubscriptionSpecInitProvider: + r""" + THIS IS A BETA FIELD. It will be honored + unless the Management Policies feature flag is disabled. + InitProvider holds the same fields as ForProvider, with the exception + of Identifier and other resource reference fields. The fields that are + in InitProvider are merged into ForProvider when the resource is created. + The same fields are also added to the terraform ignore_changes hook, to + avoid updating them after creation. This is useful for fields that are + required on creation, but we do not desire to update them after creation, + for example because of an external controller is managing them, like an + autoscaler. + + Attributes + ---------- + billingScopeId : str, default is Undefined, optional + The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. + subscriptionId : str, default is Undefined, optional + The ID of the Subscription. Changing this forces a new Subscription to be created. + The GUID of the Subscription. + subscriptionName : str, default is Undefined, optional + The Name of the Subscription. This is the Display Name in the portal. + The Display Name for the Subscription. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the Subscription. + workload : str, default is Undefined, optional + The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created. + The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`. + """ + + + billingScopeId?: str + + subscriptionId?: str + + subscriptionName?: str + + tags?: {str:str} + + workload?: str + + +schema AzureUpboundIoV1beta1SubscriptionSpecProviderConfigRef: + r""" + ProviderConfigReference specifies how the provider that will be used to + create, observe, update, and delete this managed resource should be + configured. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1SubscriptionSpecProviderConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1SubscriptionSpecProviderConfigRefPolicy + + +schema AzureUpboundIoV1beta1SubscriptionSpecProviderConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsTo: + r""" + PublishConnectionDetailsTo specifies the connection secret config which + contains a name, metadata and a reference to secret store config to + which any connection details for this managed resource should be written. + Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + + Attributes + ---------- + configRef : AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToConfigRef, default is Undefined, optional + config ref + metadata : AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToMetadata, default is Undefined, optional + metadata + name : str, default is Undefined, required + Name is the name of the connection secret. + """ + + + configRef?: AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToConfigRef + + metadata?: AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToMetadata + + name: str + + +schema AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToConfigRef: + r""" + SecretStoreConfigRef specifies which secret store config should be used + for this ConnectionSecret. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the referenced object. + policy : AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToConfigRefPolicy, default is Undefined, optional + policy + """ + + + name: str + + policy?: AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToConfigRefPolicy + + +schema AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToConfigRefPolicy: + r""" + Policies for referencing. + + Attributes + ---------- + resolution : str, default is "Required", optional + Resolution specifies whether resolution of this reference is required. + The default is 'Required', which means the reconcile will fail if the + reference cannot be resolved. 'Optional' means this reference will be + a no-op if it cannot be resolved. + resolve : str, default is Undefined, optional + Resolve specifies when this reference should be resolved. The default + is 'IfNotPresent', which will attempt to resolve the reference only when + the corresponding field is not present. Use 'Always' to resolve the + reference on every reconcile. + """ + + + resolution?: "Required" | "Optional" = "Required" + + resolve?: "Always" | "IfNotPresent" + + +schema AzureUpboundIoV1beta1SubscriptionSpecPublishConnectionDetailsToMetadata: + r""" + Metadata is the metadata for connection secret. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations are the annotations to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.annotations". + - It is up to Secret Store implementation for others store types. + labels : {str:str}, default is Undefined, optional + Labels are the labels/tags to be added to connection secret. + - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store types. + $type : str, default is Undefined, optional + Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + """ + + + annotations?: {str:str} + + labels?: {str:str} + + $type?: str + + +schema AzureUpboundIoV1beta1SubscriptionSpecWriteConnectionSecretToRef: + r""" + WriteConnectionSecretToReference specifies the namespace and name of a + Secret to which any connection details for this managed resource should + be written. Connection details frequently include the endpoint, username, + and password required to connect to the managed resource. + This field is planned to be replaced in a future release in favor of + PublishConnectionDetailsTo. Currently, both could be set independently + and connection details would be published to both without affecting + each other. + + Attributes + ---------- + name : str, default is Undefined, required + Name of the secret. + namespace : str, default is Undefined, required + Namespace of the secret. + """ + + + name: str + + namespace: str + + +schema AzureUpboundIoV1beta1SubscriptionStatus: + r""" + SubscriptionStatus defines the observed state of Subscription. + + Attributes + ---------- + atProvider : AzureUpboundIoV1beta1SubscriptionStatusAtProvider, default is Undefined, optional + at provider + conditions : [AzureUpboundIoV1beta1SubscriptionStatusConditionsItems0], default is Undefined, optional + Conditions of the resource. + observedGeneration : int, default is Undefined, optional + ObservedGeneration is the latest metadata.generation + which resulted in either a ready state, or stalled due to error + it can not recover from without human intervention. + """ + + + atProvider?: AzureUpboundIoV1beta1SubscriptionStatusAtProvider + + conditions?: [AzureUpboundIoV1beta1SubscriptionStatusConditionsItems0] + + observedGeneration?: int + + +schema AzureUpboundIoV1beta1SubscriptionStatusAtProvider: + r""" + azure upbound io v1beta1 subscription status at provider + + Attributes + ---------- + billingScopeId : str, default is Undefined, optional + The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. + id : str, default is Undefined, optional + The Resource ID of the Alias. + subscriptionId : str, default is Undefined, optional + The ID of the Subscription. Changing this forces a new Subscription to be created. + The GUID of the Subscription. + subscriptionName : str, default is Undefined, optional + The Name of the Subscription. This is the Display Name in the portal. + The Display Name for the Subscription. + tags : {str:str}, default is Undefined, optional + A mapping of tags to assign to the Subscription. + tenantId : str, default is Undefined, optional + The ID of the Tenant to which the subscription belongs. + The Tenant ID to which the subscription belongs + workload : str, default is Undefined, optional + The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created. + The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`. + """ + + + billingScopeId?: str + + id?: str + + subscriptionId?: str + + subscriptionName?: str + + tags?: {str:str} + + tenantId?: str + + workload?: str + + +schema AzureUpboundIoV1beta1SubscriptionStatusConditionsItems0: + r""" + A Condition that may apply to a resource. + + Attributes + ---------- + lastTransitionTime : str, default is Undefined, required + LastTransitionTime is the last time this condition transitioned from one + status to another. + message : str, default is Undefined, optional + A Message containing details about this condition's last transition from + one status to another, if any. + observedGeneration : int, default is Undefined, optional + ObservedGeneration represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + reason : str, default is Undefined, required + A Reason for this condition's last transition from one status to another. + status : str, default is Undefined, required + Status of this condition; is it currently True, False, or Unknown? + $type : str, default is Undefined, required + Type of this condition. At most one of each condition type may apply to + a resource at any point in time. + """ + + + lastTransitionTime: str + + message?: str + + observedGeneration?: int + + reason: str + + status: str + + $type: str + + diff --git a/k8s/apimachinery/pkg/apis/meta/v1/managed_fields_entry.k b/k8s/apimachinery/pkg/apis/meta/v1/managed_fields_entry.k new file mode 100644 index 0000000..49becab --- /dev/null +++ b/k8s/apimachinery/pkg/apis/meta/v1/managed_fields_entry.k @@ -0,0 +1,41 @@ +""" +This is the managed_fields_entry module in k8s.apimachinery.pkg.apis.meta.v1 package. +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" + + +schema ManagedFieldsEntry: + r""" + ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. + + Attributes + ---------- + apiVersion : str, default is Undefined, optional + APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted. + fieldsType : str, default is Undefined, optional + FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1" + fieldsV1 : any, default is Undefined, optional + FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. + manager : str, default is Undefined, optional + Manager is an identifier of the workflow managing these fields. + operation : str, default is Undefined, optional + Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'. + time : str, default is Undefined, optional + Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply' + """ + + + apiVersion?: str + + fieldsType?: str + + fieldsV1?: any + + manager?: str + + operation?: str + + time?: str + + diff --git a/k8s/apimachinery/pkg/apis/meta/v1/object_meta.k b/k8s/apimachinery/pkg/apis/meta/v1/object_meta.k new file mode 100644 index 0000000..e7c54c3 --- /dev/null +++ b/k8s/apimachinery/pkg/apis/meta/v1/object_meta.k @@ -0,0 +1,97 @@ +""" +This is the object_meta module in k8s.apimachinery.pkg.apis.meta.v1 package. +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" + + +schema ObjectMeta: + r""" + ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. + + Attributes + ---------- + annotations : {str:str}, default is Undefined, optional + Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations + clusterName : str, default is Undefined, optional + The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. + creationTimestamp : str, default is Undefined, optional + CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. + + Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + deletionGracePeriodSeconds : int, default is Undefined, optional + Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. + deletionTimestamp : str, default is Undefined, optional + DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. + + Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + finalizers : [str], default is Undefined, optional + Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. + generateName : str, default is Undefined, optional + GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. + + If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). + + Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + generation : int, default is Undefined, optional + A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. + labels : {str:str}, default is Undefined, optional + Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels + managedFields : [ManagedFieldsEntry], default is Undefined, optional + ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. + name : str, default is Undefined, optional + Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names + namespace : str, default is Undefined, optional + Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. + + Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces + ownerReferences : [OwnerReference], default is Undefined, optional + List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. + resourceVersion : str, default is Undefined, optional + An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. + + Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + selfLink : str, default is Undefined, optional + SelfLink is a URL representing this object. Populated by the system. Read-only. + + DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. + uid : str, default is Undefined, optional + UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. + + Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + """ + + + annotations?: {str:str} + + clusterName?: str + + creationTimestamp?: str + + deletionGracePeriodSeconds?: int + + deletionTimestamp?: str + + finalizers?: [str] + + generateName?: str + + generation?: int + + labels?: {str:str} + + managedFields?: [ManagedFieldsEntry] + + name?: str + + namespace?: str + + ownerReferences?: [OwnerReference] + + resourceVersion?: str + + selfLink?: str + + uid?: str + + diff --git a/k8s/apimachinery/pkg/apis/meta/v1/owner_reference.k b/k8s/apimachinery/pkg/apis/meta/v1/owner_reference.k new file mode 100644 index 0000000..3854a5c --- /dev/null +++ b/k8s/apimachinery/pkg/apis/meta/v1/owner_reference.k @@ -0,0 +1,41 @@ +""" +This is the owner_reference module in k8s.apimachinery.pkg.apis.meta.v1 package. +This file was generated by the KCL auto-gen tool. DO NOT EDIT. +Editing this file might prove futile when you re-run the KCL auto-gen generate command. +""" + + +schema OwnerReference: + r""" + OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. + + Attributes + ---------- + apiVersion : str, default is Undefined, required + API version of the referent. + blockOwnerDeletion : bool, default is Undefined, optional + If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. + controller : bool, default is Undefined, optional + If true, this reference points to the managing controller. + kind : str, default is Undefined, required + Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + name : str, default is Undefined, required + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + uid : str, default is Undefined, required + UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + """ + + + apiVersion: str + + blockOwnerDeletion?: bool + + controller?: bool + + kind: str + + name: str + + uid: str + + diff --git a/kcl.mod b/kcl.mod new file mode 100644 index 0000000..d1d2f2f --- /dev/null +++ b/kcl.mod @@ -0,0 +1,4 @@ +[package] +name = "models" +edition = "v0.10.0" +version = "0.0.1" diff --git a/project.yaml b/project.yaml new file mode 100644 index 0000000..a895bdd --- /dev/null +++ b/project.yaml @@ -0,0 +1,15 @@ +apiVersion: meta.dev.upbound.io/v1alpha1 +kind: Project +metadata: + name: azure +spec: + dependsOn: + - provider: xpkg.upbound.io/upbound/provider-azure-keyvault + version: '>=v1' + description: This is where you can describe your project. + license: Apache-2.0 + maintainer: Upbound User + readme: | + This is where you can add a readme for your project. + repository: xpkg.upbound.io//azure + source: github.com/upbound/project-template diff --git a/templates/deployment.yaml b/templates/deployment.yaml deleted file mode 100644 index 76d2088..0000000 --- a/templates/deployment.yaml +++ /dev/null @@ -1,21 +0,0 @@ -{{- if .Values.chartName.createDeployment -}} -apiVersion: apps/v1 -kind: Deployment -metadata: - name: nginx-deployment -spec: - replicas: 1 - selector: - matchLabels: - app: nginx - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: nginx:latest - ports: - - containerPort: 80 -{{- end }} \ No newline at end of file diff --git a/tests/claim_test.yaml b/tests/claim_test.yaml deleted file mode 100644 index 5594a65..0000000 --- a/tests/claim_test.yaml +++ /dev/null @@ -1,16 +0,0 @@ -suite: test deployment -templates: -- templates/deployment.yaml -tests: -- it: check deployment creation - set: - chartName.createDeployment: true - asserts: - - hasDocuments: - count: 1 -- it: check deployment disabled - values: - - values/values.yaml - asserts: - - hasDocuments: - count: 0 diff --git a/tests/values/values.yaml b/tests/values/values.yaml deleted file mode 100644 index 63c1e5a..0000000 --- a/tests/values/values.yaml +++ /dev/null @@ -1,2 +0,0 @@ -chartName: - createDeployment: false \ No newline at end of file diff --git a/values.yaml b/values.yaml deleted file mode 100644 index 53d8d88..0000000 --- a/values.yaml +++ /dev/null @@ -1,2 +0,0 @@ -chartName: - createDeployment: true