v1beta1

package
v0.42.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=certificateregistration.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "certificateregistration.azure.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	AppServiceCertificateOrder_Kind             = "AppServiceCertificateOrder"
	AppServiceCertificateOrder_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AppServiceCertificateOrder_Kind}.String()
	AppServiceCertificateOrder_KindAPIVersion   = AppServiceCertificateOrder_Kind + "." + CRDGroupVersion.String()
	AppServiceCertificateOrder_GroupVersionKind = CRDGroupVersion.WithKind(AppServiceCertificateOrder_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AppServiceCertificateOrder

type AppServiceCertificateOrder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	Spec   AppServiceCertificateOrderSpec   `json:"spec"`
	Status AppServiceCertificateOrderStatus `json:"status,omitempty"`
}

AppServiceCertificateOrder is the Schema for the AppServiceCertificateOrders API. Manages an App Service Certificate Order. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*AppServiceCertificateOrder) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppServiceCertificateOrder) DeepCopyObject

func (in *AppServiceCertificateOrder) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AppServiceCertificateOrder) GetCondition

GetCondition of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) GetConnectionDetailsMapping

func (tr *AppServiceCertificateOrder) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetDeletionPolicy

func (mg *AppServiceCertificateOrder) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) GetID

func (tr *AppServiceCertificateOrder) GetID() string

GetID returns ID of underlying Terraform resource of this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetInitParameters added in v0.35.0

func (tr *AppServiceCertificateOrder) GetInitParameters() (map[string]any, error)

GetInitParameters of this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetManagementPolicies added in v0.35.0

func (mg *AppServiceCertificateOrder) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) GetMergedParameters added in v0.40.0

func (tr *AppServiceCertificateOrder) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetObservation

func (tr *AppServiceCertificateOrder) GetObservation() (map[string]any, error)

GetObservation of this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetParameters

func (tr *AppServiceCertificateOrder) GetParameters() (map[string]any, error)

GetParameters of this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetProviderConfigReference

func (mg *AppServiceCertificateOrder) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) GetPublishConnectionDetailsTo

func (mg *AppServiceCertificateOrder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) GetTerraformResourceType

func (mg *AppServiceCertificateOrder) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) GetTerraformSchemaVersion

func (tr *AppServiceCertificateOrder) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AppServiceCertificateOrder) GetWriteConnectionSecretToReference

func (mg *AppServiceCertificateOrder) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) Hub added in v0.42.1

func (tr *AppServiceCertificateOrder) Hub()

Hub marks this type as a conversion hub.

func (*AppServiceCertificateOrder) LateInitialize

func (tr *AppServiceCertificateOrder) LateInitialize(attrs []byte) (bool, error)

LateInitialize this AppServiceCertificateOrder using its observed tfState. returns True if there are any spec changes for the resource.

func (*AppServiceCertificateOrder) ResolveReferences

func (mg *AppServiceCertificateOrder) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) SetConditions

func (mg *AppServiceCertificateOrder) SetConditions(c ...xpv1.Condition)

SetConditions of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) SetDeletionPolicy

func (mg *AppServiceCertificateOrder) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) SetManagementPolicies added in v0.35.0

func (mg *AppServiceCertificateOrder) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) SetObservation

func (tr *AppServiceCertificateOrder) SetObservation(obs map[string]any) error

SetObservation for this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) SetParameters

func (tr *AppServiceCertificateOrder) SetParameters(params map[string]any) error

SetParameters for this AppServiceCertificateOrder

func (*AppServiceCertificateOrder) SetProviderConfigReference

func (mg *AppServiceCertificateOrder) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) SetPublishConnectionDetailsTo

func (mg *AppServiceCertificateOrder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this AppServiceCertificateOrder.

func (*AppServiceCertificateOrder) SetWriteConnectionSecretToReference

func (mg *AppServiceCertificateOrder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this AppServiceCertificateOrder.

type AppServiceCertificateOrderInitParameters added in v0.35.0

type AppServiceCertificateOrderInitParameters struct {

	// true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to true.
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"`

	// Last CSR that was created for this order.
	Csr *string `json:"csr,omitempty" tf:"csr,omitempty"`

	// The Distinguished Name for the App Service Certificate Order.
	DistinguishedName *string `json:"distinguishedName,omitempty" tf:"distinguished_name,omitempty"`

	// Certificate key size. Defaults to 2048.
	KeySize *float64 `json:"keySize,omitempty" tf:"key_size,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Currently the only valid value is global.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Certificate product type, such as Standard or WildCard.
	ProductType *string `json:"productType,omitempty" tf:"product_type,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Duration in years (must be between 1 and 3). Defaults to 1.
	ValidityInYears *float64 `json:"validityInYears,omitempty" tf:"validity_in_years,omitempty"`
}

func (*AppServiceCertificateOrderInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrderInitParameters.

func (*AppServiceCertificateOrderInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppServiceCertificateOrderList

type AppServiceCertificateOrderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AppServiceCertificateOrder `json:"items"`
}

AppServiceCertificateOrderList contains a list of AppServiceCertificateOrders

func (*AppServiceCertificateOrderList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrderList.

func (*AppServiceCertificateOrderList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppServiceCertificateOrderList) DeepCopyObject

func (in *AppServiceCertificateOrderList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AppServiceCertificateOrderList) GetItems

GetItems of this AppServiceCertificateOrderList.

type AppServiceCertificateOrderObservation

type AppServiceCertificateOrderObservation struct {

	// Reasons why App Service Certificate is not renewable at the current moment.
	AppServiceCertificateNotRenewableReasons []*string `json:"appServiceCertificateNotRenewableReasons,omitempty" tf:"app_service_certificate_not_renewable_reasons,omitempty"`

	// true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to true.
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"`

	// State of the Key Vault secret. A certificates block as defined below.
	Certificates []CertificatesObservation `json:"certificates,omitempty" tf:"certificates,omitempty"`

	// Last CSR that was created for this order.
	Csr *string `json:"csr,omitempty" tf:"csr,omitempty"`

	// The Distinguished Name for the App Service Certificate Order.
	DistinguishedName *string `json:"distinguishedName,omitempty" tf:"distinguished_name,omitempty"`

	// Domain verification token.
	DomainVerificationToken *string `json:"domainVerificationToken,omitempty" tf:"domain_verification_token,omitempty"`

	// Certificate expiration time.
	ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"`

	// The App Service Certificate Order ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Certificate thumbprint intermediate certificate.
	IntermediateThumbprint *string `json:"intermediateThumbprint,omitempty" tf:"intermediate_thumbprint,omitempty"`

	// Whether the private key is external or not.
	IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty" tf:"is_private_key_external,omitempty"`

	// Certificate key size. Defaults to 2048.
	KeySize *float64 `json:"keySize,omitempty" tf:"key_size,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Currently the only valid value is global.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Certificate product type, such as Standard or WildCard.
	ProductType *string `json:"productType,omitempty" tf:"product_type,omitempty"`

	// The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Certificate thumbprint for root certificate.
	RootThumbprint *string `json:"rootThumbprint,omitempty" tf:"root_thumbprint,omitempty"`

	// Certificate thumbprint for signed certificate.
	SignedCertificateThumbprint *string `json:"signedCertificateThumbprint,omitempty" tf:"signed_certificate_thumbprint,omitempty"`

	// Current order status.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Duration in years (must be between 1 and 3). Defaults to 1.
	ValidityInYears *float64 `json:"validityInYears,omitempty" tf:"validity_in_years,omitempty"`
}

func (*AppServiceCertificateOrderObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrderObservation.

func (*AppServiceCertificateOrderObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppServiceCertificateOrderParameters

type AppServiceCertificateOrderParameters struct {

	// true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to true.
	// +kubebuilder:validation:Optional
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"`

	// Last CSR that was created for this order.
	// +kubebuilder:validation:Optional
	Csr *string `json:"csr,omitempty" tf:"csr,omitempty"`

	// The Distinguished Name for the App Service Certificate Order.
	// +kubebuilder:validation:Optional
	DistinguishedName *string `json:"distinguishedName,omitempty" tf:"distinguished_name,omitempty"`

	// Certificate key size. Defaults to 2048.
	// +kubebuilder:validation:Optional
	KeySize *float64 `json:"keySize,omitempty" tf:"key_size,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Currently the only valid value is global.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Certificate product type, such as Standard or WildCard.
	// +kubebuilder:validation:Optional
	ProductType *string `json:"productType,omitempty" tf:"product_type,omitempty"`

	// The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Duration in years (must be between 1 and 3). Defaults to 1.
	// +kubebuilder:validation:Optional
	ValidityInYears *float64 `json:"validityInYears,omitempty" tf:"validity_in_years,omitempty"`
}

func (*AppServiceCertificateOrderParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrderParameters.

func (*AppServiceCertificateOrderParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppServiceCertificateOrderSpec

type AppServiceCertificateOrderSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AppServiceCertificateOrderParameters `json:"forProvider"`
	// 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.
	InitProvider AppServiceCertificateOrderInitParameters `json:"initProvider,omitempty"`
}

AppServiceCertificateOrderSpec defines the desired state of AppServiceCertificateOrder

func (*AppServiceCertificateOrderSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrderSpec.

func (*AppServiceCertificateOrderSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppServiceCertificateOrderStatus

type AppServiceCertificateOrderStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AppServiceCertificateOrderObservation `json:"atProvider,omitempty"`
}

AppServiceCertificateOrderStatus defines the observed state of AppServiceCertificateOrder.

func (*AppServiceCertificateOrderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceCertificateOrderStatus.

func (*AppServiceCertificateOrderStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificatesInitParameters added in v0.35.0

type CertificatesInitParameters struct {
}

func (*CertificatesInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatesInitParameters.

func (*CertificatesInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificatesObservation

type CertificatesObservation struct {

	// The name of the App Service Certificate.
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"`

	// Key Vault resource Id.
	KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"`

	// Key Vault secret name.
	KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty" tf:"key_vault_secret_name,omitempty"`

	// Status of the Key Vault secret.
	ProvisioningState *string `json:"provisioningState,omitempty" tf:"provisioning_state,omitempty"`
}

func (*CertificatesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatesObservation.

func (*CertificatesObservation) DeepCopyInto

func (in *CertificatesObservation) DeepCopyInto(out *CertificatesObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CertificatesParameters

type CertificatesParameters struct {
}

func (*CertificatesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatesParameters.

func (*CertificatesParameters) DeepCopyInto

func (in *CertificatesParameters) DeepCopyInto(out *CertificatesParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL