v1alpha1

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cdn.yandex-cloud.upjet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cdn.yandex-cloud.upjet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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
)
View Source
var (
	OriginGroup_Kind             = "OriginGroup"
	OriginGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OriginGroup_Kind}.String()
	OriginGroup_KindAPIVersion   = OriginGroup_Kind + "." + CRDGroupVersion.String()
	OriginGroup_GroupVersionKind = CRDGroupVersion.WithKind(OriginGroup_Kind)
)

Repository type metadata.

View Source
var (
	Resource_Kind             = "Resource"
	Resource_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Resource_Kind}.String()
	Resource_KindAPIVersion   = Resource_Kind + "." + CRDGroupVersion.String()
	Resource_GroupVersionKind = CRDGroupVersion.WithKind(Resource_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IPAddressACLInitParameters

type IPAddressACLInitParameters struct {

	// the list of specified IP addresses to be allowed or denied depending on acl policy type.
	ExceptedValues []*string `json:"exceptedValues,omitempty" tf:"excepted_values,omitempty"`

	// the policy type for ip_address_acl option, one of "allow" or "deny" values.
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
}

func (*IPAddressACLInitParameters) DeepCopy

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

func (*IPAddressACLInitParameters) DeepCopyInto

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

type IPAddressACLObservation

type IPAddressACLObservation struct {

	// the list of specified IP addresses to be allowed or denied depending on acl policy type.
	ExceptedValues []*string `json:"exceptedValues,omitempty" tf:"excepted_values,omitempty"`

	// the policy type for ip_address_acl option, one of "allow" or "deny" values.
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
}

func (*IPAddressACLObservation) DeepCopy

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

func (*IPAddressACLObservation) DeepCopyInto

func (in *IPAddressACLObservation) DeepCopyInto(out *IPAddressACLObservation)

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

type IPAddressACLParameters

type IPAddressACLParameters struct {

	// the list of specified IP addresses to be allowed or denied depending on acl policy type.
	// +kubebuilder:validation:Optional
	ExceptedValues []*string `json:"exceptedValues,omitempty" tf:"excepted_values,omitempty"`

	// the policy type for ip_address_acl option, one of "allow" or "deny" values.
	// +kubebuilder:validation:Optional
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
}

func (*IPAddressACLParameters) DeepCopy

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

func (*IPAddressACLParameters) DeepCopyInto

func (in *IPAddressACLParameters) DeepCopyInto(out *IPAddressACLParameters)

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

type OptionsInitParameters

type OptionsInitParameters struct {

	// HTTP methods for your CDN content. By default the following methods are allowed: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS. In case some methods are not allowed to the user, they will get the 405 (Method Not Allowed) response. If the method is not supported, the user gets the 501 (Not Implemented) response.
	AllowedHTTPMethods []*string `json:"allowedHttpMethods,omitempty" tf:"allowed_http_methods,omitempty"`

	// set up a cache period for the end-users browser. Content will be cached due to origin settings. If there are no cache settings on your origin, the content will not be cached. The list of HTTP response codes that can be cached in browsers: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308. Other response codes will not be cached. The default value is 4 days.
	BrowserCacheSettings *float64 `json:"browserCacheSettings,omitempty" tf:"browser_cache_settings,omitempty"`

	// list HTTP headers that must be included in responses to clients.
	CacheHTTPHeaders []*string `json:"cacheHttpHeaders,omitempty" tf:"cache_http_headers,omitempty"`

	// parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.
	Cors []*string `json:"cors,omitempty" tf:"cors,omitempty"`

	// custom value for the Host header. Your server must be able to process requests with the chosen header.
	CustomHostHeader *string `json:"customHostHeader,omitempty" tf:"custom_host_header,omitempty"`

	// wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.
	CustomServerName *string `json:"customServerName,omitempty" tf:"custom_server_name,omitempty"`

	// setup a cache status.
	DisableCache *bool `json:"disableCache,omitempty" tf:"disable_cache,omitempty"`

	// disabling proxy force ranges.
	DisableProxyForceRanges *bool `json:"disableProxyForceRanges,omitempty" tf:"disable_proxy_force_ranges,omitempty"`

	// content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
	EdgeCacheSettings *float64 `json:"edgeCacheSettings,omitempty" tf:"edge_cache_settings,omitempty"`

	// enable access limiting by IP addresses, option available only with setting secure_key.
	EnableIPURLSigning *bool `json:"enableIpUrlSigning,omitempty" tf:"enable_ip_url_signing,omitempty"`

	// option helps you to reduce the bandwidth between origin and CDN servers. Also, content delivery speed becomes higher because of reducing the time for compressing files in a CDN.
	FetchedCompressed *bool `json:"fetchedCompressed,omitempty" tf:"fetched_compressed,omitempty"`

	// choose the Forward Host header option if is important to send in the request to the Origin the same Host header as was sent in the request to CDN server.
	ForwardHostHeader *bool `json:"forwardHostHeader,omitempty" tf:"forward_host_header,omitempty"`

	// GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.
	GzipOn *bool `json:"gzipOn,omitempty" tf:"gzip_on,omitempty"`

	IPAddressACL []IPAddressACLInitParameters `json:"ipAddressAcl,omitempty" tf:"ip_address_acl,omitempty"`

	// set for ignoring cookie.
	IgnoreCookie *bool `json:"ignoreCookie,omitempty" tf:"ignore_cookie,omitempty"`

	// files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.
	IgnoreQueryParams *bool `json:"ignoreQueryParams,omitempty" tf:"ignore_query_params,omitempty"`

	// allows caching for GET, HEAD and POST requests.
	ProxyCacheMethodsSet *bool `json:"proxyCacheMethodsSet,omitempty" tf:"proxy_cache_methods_set,omitempty"`

	// files with the specified query parameters are cached as objects with the same key, files with other parameters are cached as objects with different keys.
	QueryParamsBlacklist []*string `json:"queryParamsBlacklist,omitempty" tf:"query_params_blacklist,omitempty"`

	// files with the specified query parameters are cached as objects with different keys, files with other parameters are cached as objects with the same key.
	QueryParamsWhitelist []*string `json:"queryParamsWhitelist,omitempty" tf:"query_params_whitelist,omitempty"`

	// set up a redirect from HTTPS to HTTP.
	RedirectHTTPSToHTTP *bool `json:"redirectHttpsToHttp,omitempty" tf:"redirect_https_to_http,omitempty"`

	// set up a redirect from HTTP to HTTPS.
	RedirectHTTPToHTTPS *bool `json:"redirectHttpToHttps,omitempty" tf:"redirect_http_to_https,omitempty"`

	// set secure key for url encoding to protect contect and limit access by IP addresses and time limits.
	SecureKey *string `json:"secureKey,omitempty" tf:"secure_key,omitempty"`

	// files larger than 10 MB will be requested and cached in parts (no larger than 10 MB each part). It reduces time to first byte. The origin must support HTTP Range requests.
	Slice *bool `json:"slice,omitempty" tf:"slice,omitempty"`

	// set up custom headers that CDN servers will send in requests to origins.
	// +mapType=granular
	StaticRequestHeaders map[string]*string `json:"staticRequestHeaders,omitempty" tf:"static_request_headers,omitempty"`

	// set up custom headers that CDN servers will send in response to clients.
	// +mapType=granular
	StaticResponseHeaders map[string]*string `json:"staticResponseHeaders,omitempty" tf:"static_response_headers,omitempty"`
}

func (*OptionsInitParameters) DeepCopy

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

func (*OptionsInitParameters) DeepCopyInto

func (in *OptionsInitParameters) DeepCopyInto(out *OptionsInitParameters)

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

type OptionsObservation

type OptionsObservation struct {

	// HTTP methods for your CDN content. By default the following methods are allowed: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS. In case some methods are not allowed to the user, they will get the 405 (Method Not Allowed) response. If the method is not supported, the user gets the 501 (Not Implemented) response.
	AllowedHTTPMethods []*string `json:"allowedHttpMethods,omitempty" tf:"allowed_http_methods,omitempty"`

	// set up a cache period for the end-users browser. Content will be cached due to origin settings. If there are no cache settings on your origin, the content will not be cached. The list of HTTP response codes that can be cached in browsers: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308. Other response codes will not be cached. The default value is 4 days.
	BrowserCacheSettings *float64 `json:"browserCacheSettings,omitempty" tf:"browser_cache_settings,omitempty"`

	// list HTTP headers that must be included in responses to clients.
	CacheHTTPHeaders []*string `json:"cacheHttpHeaders,omitempty" tf:"cache_http_headers,omitempty"`

	// parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.
	Cors []*string `json:"cors,omitempty" tf:"cors,omitempty"`

	// custom value for the Host header. Your server must be able to process requests with the chosen header.
	CustomHostHeader *string `json:"customHostHeader,omitempty" tf:"custom_host_header,omitempty"`

	// wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.
	CustomServerName *string `json:"customServerName,omitempty" tf:"custom_server_name,omitempty"`

	// setup a cache status.
	DisableCache *bool `json:"disableCache,omitempty" tf:"disable_cache,omitempty"`

	// disabling proxy force ranges.
	DisableProxyForceRanges *bool `json:"disableProxyForceRanges,omitempty" tf:"disable_proxy_force_ranges,omitempty"`

	// content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
	EdgeCacheSettings *float64 `json:"edgeCacheSettings,omitempty" tf:"edge_cache_settings,omitempty"`

	// enable access limiting by IP addresses, option available only with setting secure_key.
	EnableIPURLSigning *bool `json:"enableIpUrlSigning,omitempty" tf:"enable_ip_url_signing,omitempty"`

	// option helps you to reduce the bandwidth between origin and CDN servers. Also, content delivery speed becomes higher because of reducing the time for compressing files in a CDN.
	FetchedCompressed *bool `json:"fetchedCompressed,omitempty" tf:"fetched_compressed,omitempty"`

	// choose the Forward Host header option if is important to send in the request to the Origin the same Host header as was sent in the request to CDN server.
	ForwardHostHeader *bool `json:"forwardHostHeader,omitempty" tf:"forward_host_header,omitempty"`

	// GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.
	GzipOn *bool `json:"gzipOn,omitempty" tf:"gzip_on,omitempty"`

	IPAddressACL []IPAddressACLObservation `json:"ipAddressAcl,omitempty" tf:"ip_address_acl,omitempty"`

	// set for ignoring cookie.
	IgnoreCookie *bool `json:"ignoreCookie,omitempty" tf:"ignore_cookie,omitempty"`

	// files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.
	IgnoreQueryParams *bool `json:"ignoreQueryParams,omitempty" tf:"ignore_query_params,omitempty"`

	// allows caching for GET, HEAD and POST requests.
	ProxyCacheMethodsSet *bool `json:"proxyCacheMethodsSet,omitempty" tf:"proxy_cache_methods_set,omitempty"`

	// files with the specified query parameters are cached as objects with the same key, files with other parameters are cached as objects with different keys.
	QueryParamsBlacklist []*string `json:"queryParamsBlacklist,omitempty" tf:"query_params_blacklist,omitempty"`

	// files with the specified query parameters are cached as objects with different keys, files with other parameters are cached as objects with the same key.
	QueryParamsWhitelist []*string `json:"queryParamsWhitelist,omitempty" tf:"query_params_whitelist,omitempty"`

	// set up a redirect from HTTPS to HTTP.
	RedirectHTTPSToHTTP *bool `json:"redirectHttpsToHttp,omitempty" tf:"redirect_https_to_http,omitempty"`

	// set up a redirect from HTTP to HTTPS.
	RedirectHTTPToHTTPS *bool `json:"redirectHttpToHttps,omitempty" tf:"redirect_http_to_https,omitempty"`

	// set secure key for url encoding to protect contect and limit access by IP addresses and time limits.
	SecureKey *string `json:"secureKey,omitempty" tf:"secure_key,omitempty"`

	// files larger than 10 MB will be requested and cached in parts (no larger than 10 MB each part). It reduces time to first byte. The origin must support HTTP Range requests.
	Slice *bool `json:"slice,omitempty" tf:"slice,omitempty"`

	// set up custom headers that CDN servers will send in requests to origins.
	// +mapType=granular
	StaticRequestHeaders map[string]*string `json:"staticRequestHeaders,omitempty" tf:"static_request_headers,omitempty"`

	// set up custom headers that CDN servers will send in response to clients.
	// +mapType=granular
	StaticResponseHeaders map[string]*string `json:"staticResponseHeaders,omitempty" tf:"static_response_headers,omitempty"`
}

func (*OptionsObservation) DeepCopy

func (in *OptionsObservation) DeepCopy() *OptionsObservation

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

func (*OptionsObservation) DeepCopyInto

func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation)

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

type OptionsParameters

type OptionsParameters struct {

	// HTTP methods for your CDN content. By default the following methods are allowed: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS. In case some methods are not allowed to the user, they will get the 405 (Method Not Allowed) response. If the method is not supported, the user gets the 501 (Not Implemented) response.
	// +kubebuilder:validation:Optional
	AllowedHTTPMethods []*string `json:"allowedHttpMethods,omitempty" tf:"allowed_http_methods,omitempty"`

	// set up a cache period for the end-users browser. Content will be cached due to origin settings. If there are no cache settings on your origin, the content will not be cached. The list of HTTP response codes that can be cached in browsers: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308. Other response codes will not be cached. The default value is 4 days.
	// +kubebuilder:validation:Optional
	BrowserCacheSettings *float64 `json:"browserCacheSettings,omitempty" tf:"browser_cache_settings,omitempty"`

	// list HTTP headers that must be included in responses to clients.
	// +kubebuilder:validation:Optional
	CacheHTTPHeaders []*string `json:"cacheHttpHeaders,omitempty" tf:"cache_http_headers,omitempty"`

	// parameter that lets browsers get access to selected resources from a domain different to a domain from which the request is received.
	// +kubebuilder:validation:Optional
	Cors []*string `json:"cors,omitempty" tf:"cors,omitempty"`

	// custom value for the Host header. Your server must be able to process requests with the chosen header.
	// +kubebuilder:validation:Optional
	CustomHostHeader *string `json:"customHostHeader,omitempty" tf:"custom_host_header,omitempty"`

	// wildcard additional CNAME. If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.
	// +kubebuilder:validation:Optional
	CustomServerName *string `json:"customServerName,omitempty" tf:"custom_server_name,omitempty"`

	// setup a cache status.
	// +kubebuilder:validation:Optional
	DisableCache *bool `json:"disableCache,omitempty" tf:"disable_cache,omitempty"`

	// disabling proxy force ranges.
	// +kubebuilder:validation:Optional
	DisableProxyForceRanges *bool `json:"disableProxyForceRanges,omitempty" tf:"disable_proxy_force_ranges,omitempty"`

	// content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
	// +kubebuilder:validation:Optional
	EdgeCacheSettings *float64 `json:"edgeCacheSettings,omitempty" tf:"edge_cache_settings,omitempty"`

	// enable access limiting by IP addresses, option available only with setting secure_key.
	// +kubebuilder:validation:Optional
	EnableIPURLSigning *bool `json:"enableIpUrlSigning,omitempty" tf:"enable_ip_url_signing,omitempty"`

	// option helps you to reduce the bandwidth between origin and CDN servers. Also, content delivery speed becomes higher because of reducing the time for compressing files in a CDN.
	// +kubebuilder:validation:Optional
	FetchedCompressed *bool `json:"fetchedCompressed,omitempty" tf:"fetched_compressed,omitempty"`

	// choose the Forward Host header option if is important to send in the request to the Origin the same Host header as was sent in the request to CDN server.
	// +kubebuilder:validation:Optional
	ForwardHostHeader *bool `json:"forwardHostHeader,omitempty" tf:"forward_host_header,omitempty"`

	// GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.
	// +kubebuilder:validation:Optional
	GzipOn *bool `json:"gzipOn,omitempty" tf:"gzip_on,omitempty"`

	// +kubebuilder:validation:Optional
	IPAddressACL []IPAddressACLParameters `json:"ipAddressAcl,omitempty" tf:"ip_address_acl,omitempty"`

	// set for ignoring cookie.
	// +kubebuilder:validation:Optional
	IgnoreCookie *bool `json:"ignoreCookie,omitempty" tf:"ignore_cookie,omitempty"`

	// files with different query parameters are cached as objects with the same key regardless of the parameter value. selected by default.
	// +kubebuilder:validation:Optional
	IgnoreQueryParams *bool `json:"ignoreQueryParams,omitempty" tf:"ignore_query_params,omitempty"`

	// allows caching for GET, HEAD and POST requests.
	// +kubebuilder:validation:Optional
	ProxyCacheMethodsSet *bool `json:"proxyCacheMethodsSet,omitempty" tf:"proxy_cache_methods_set,omitempty"`

	// files with the specified query parameters are cached as objects with the same key, files with other parameters are cached as objects with different keys.
	// +kubebuilder:validation:Optional
	QueryParamsBlacklist []*string `json:"queryParamsBlacklist,omitempty" tf:"query_params_blacklist,omitempty"`

	// files with the specified query parameters are cached as objects with different keys, files with other parameters are cached as objects with the same key.
	// +kubebuilder:validation:Optional
	QueryParamsWhitelist []*string `json:"queryParamsWhitelist,omitempty" tf:"query_params_whitelist,omitempty"`

	// set up a redirect from HTTPS to HTTP.
	// +kubebuilder:validation:Optional
	RedirectHTTPSToHTTP *bool `json:"redirectHttpsToHttp,omitempty" tf:"redirect_https_to_http,omitempty"`

	// set up a redirect from HTTP to HTTPS.
	// +kubebuilder:validation:Optional
	RedirectHTTPToHTTPS *bool `json:"redirectHttpToHttps,omitempty" tf:"redirect_http_to_https,omitempty"`

	// set secure key for url encoding to protect contect and limit access by IP addresses and time limits.
	// +kubebuilder:validation:Optional
	SecureKey *string `json:"secureKey,omitempty" tf:"secure_key,omitempty"`

	// files larger than 10 MB will be requested and cached in parts (no larger than 10 MB each part). It reduces time to first byte. The origin must support HTTP Range requests.
	// +kubebuilder:validation:Optional
	Slice *bool `json:"slice,omitempty" tf:"slice,omitempty"`

	// set up custom headers that CDN servers will send in requests to origins.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	StaticRequestHeaders map[string]*string `json:"staticRequestHeaders,omitempty" tf:"static_request_headers,omitempty"`

	// set up custom headers that CDN servers will send in response to clients.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	StaticResponseHeaders map[string]*string `json:"staticResponseHeaders,omitempty" tf:"static_response_headers,omitempty"`
}

func (*OptionsParameters) DeepCopy

func (in *OptionsParameters) DeepCopy() *OptionsParameters

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

func (*OptionsParameters) DeepCopyInto

func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters)

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

type OriginGroup

type OriginGroup 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.origin) || (has(self.initProvider) && has(self.initProvider.origin))",message="spec.forProvider.origin is a required parameter"
	Spec   OriginGroupSpec   `json:"spec"`
	Status OriginGroupStatus `json:"status,omitempty"`
}

OriginGroup is the Schema for the OriginGroups API. Allows management of a Yandex.Cloud CDN Origin Groups. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,yandex-cloud}

func (*OriginGroup) DeepCopy

func (in *OriginGroup) DeepCopy() *OriginGroup

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

func (*OriginGroup) DeepCopyInto

func (in *OriginGroup) DeepCopyInto(out *OriginGroup)

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

func (*OriginGroup) DeepCopyObject

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

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

func (*OriginGroup) GetCondition

func (mg *OriginGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this OriginGroup.

func (*OriginGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this OriginGroup

func (*OriginGroup) GetDeletionPolicy

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

GetDeletionPolicy of this OriginGroup.

func (*OriginGroup) GetID

func (tr *OriginGroup) GetID() string

GetID returns ID of underlying Terraform resource of this OriginGroup

func (*OriginGroup) GetInitParameters

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

GetInitParameters of this OriginGroup

func (*OriginGroup) GetManagementPolicies

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

GetManagementPolicies of this OriginGroup.

func (*OriginGroup) GetMergedParameters

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

GetInitParameters of this OriginGroup

func (*OriginGroup) GetObservation

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

GetObservation of this OriginGroup

func (*OriginGroup) GetParameters

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

GetParameters of this OriginGroup

func (*OriginGroup) GetProviderConfigReference

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

GetProviderConfigReference of this OriginGroup.

func (*OriginGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this OriginGroup.

func (*OriginGroup) GetTerraformResourceType

func (mg *OriginGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OriginGroup

func (*OriginGroup) GetTerraformSchemaVersion

func (tr *OriginGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OriginGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this OriginGroup.

func (*OriginGroup) Hub

func (tr *OriginGroup) Hub()

Hub marks this type as a conversion hub.

func (*OriginGroup) LateInitialize

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

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

func (*OriginGroup) ResolveReferences

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

ResolveReferences of this OriginGroup.

func (*OriginGroup) SetConditions

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

SetConditions of this OriginGroup.

func (*OriginGroup) SetDeletionPolicy

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

SetDeletionPolicy of this OriginGroup.

func (*OriginGroup) SetManagementPolicies

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

SetManagementPolicies of this OriginGroup.

func (*OriginGroup) SetObservation

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

SetObservation for this OriginGroup

func (*OriginGroup) SetParameters

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

SetParameters for this OriginGroup

func (*OriginGroup) SetProviderConfigReference

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

SetProviderConfigReference of this OriginGroup.

func (*OriginGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this OriginGroup.

func (*OriginGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this OriginGroup.

type OriginGroupInitParameters

type OriginGroupInitParameters struct {

	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// CDN Origin Group name used to define device.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Origin []OriginInitParameters `json:"origin,omitempty" tf:"origin,omitempty"`

	// If the option is active (has true value), in case the origin responds with 4XX or 5XX codes, use the next origin from the list.
	UseNext *bool `json:"useNext,omitempty" tf:"use_next,omitempty"`
}

func (*OriginGroupInitParameters) DeepCopy

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

func (*OriginGroupInitParameters) DeepCopyInto

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

type OriginGroupList

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

OriginGroupList contains a list of OriginGroups

func (*OriginGroupList) DeepCopy

func (in *OriginGroupList) DeepCopy() *OriginGroupList

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

func (*OriginGroupList) DeepCopyInto

func (in *OriginGroupList) DeepCopyInto(out *OriginGroupList)

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

func (*OriginGroupList) DeepCopyObject

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

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

func (*OriginGroupList) GetItems

func (l *OriginGroupList) GetItems() []resource.Managed

GetItems of this OriginGroupList.

type OriginGroupObservation

type OriginGroupObservation struct {
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// CDN Origin Group name used to define device.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Origin []OriginObservation `json:"origin,omitempty" tf:"origin,omitempty"`

	// If the option is active (has true value), in case the origin responds with 4XX or 5XX codes, use the next origin from the list.
	UseNext *bool `json:"useNext,omitempty" tf:"use_next,omitempty"`
}

func (*OriginGroupObservation) DeepCopy

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

func (*OriginGroupObservation) DeepCopyInto

func (in *OriginGroupObservation) DeepCopyInto(out *OriginGroupObservation)

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

type OriginGroupParameters

type OriginGroupParameters struct {

	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// CDN Origin Group name used to define device.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Origin []OriginParameters `json:"origin,omitempty" tf:"origin,omitempty"`

	// If the option is active (has true value), in case the origin responds with 4XX or 5XX codes, use the next origin from the list.
	// +kubebuilder:validation:Optional
	UseNext *bool `json:"useNext,omitempty" tf:"use_next,omitempty"`
}

func (*OriginGroupParameters) DeepCopy

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

func (*OriginGroupParameters) DeepCopyInto

func (in *OriginGroupParameters) DeepCopyInto(out *OriginGroupParameters)

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

type OriginGroupSpec

type OriginGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OriginGroupParameters `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 OriginGroupInitParameters `json:"initProvider,omitempty"`
}

OriginGroupSpec defines the desired state of OriginGroup

func (*OriginGroupSpec) DeepCopy

func (in *OriginGroupSpec) DeepCopy() *OriginGroupSpec

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

func (*OriginGroupSpec) DeepCopyInto

func (in *OriginGroupSpec) DeepCopyInto(out *OriginGroupSpec)

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

type OriginGroupStatus

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

OriginGroupStatus defines the observed state of OriginGroup.

func (*OriginGroupStatus) DeepCopy

func (in *OriginGroupStatus) DeepCopy() *OriginGroupStatus

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

func (*OriginGroupStatus) DeepCopyInto

func (in *OriginGroupStatus) DeepCopyInto(out *OriginGroupStatus)

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

type OriginInitParameters

type OriginInitParameters struct {
	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	Source *string `json:"source,omitempty" tf:"source,omitempty"`
}

func (*OriginInitParameters) DeepCopy

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

func (*OriginInitParameters) DeepCopyInto

func (in *OriginInitParameters) DeepCopyInto(out *OriginInitParameters)

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

type OriginObservation

type OriginObservation struct {
	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	OriginGroupID *float64 `json:"originGroupId,omitempty" tf:"origin_group_id,omitempty"`

	Source *string `json:"source,omitempty" tf:"source,omitempty"`
}

func (*OriginObservation) DeepCopy

func (in *OriginObservation) DeepCopy() *OriginObservation

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

func (*OriginObservation) DeepCopyInto

func (in *OriginObservation) DeepCopyInto(out *OriginObservation)

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

type OriginParameters

type OriginParameters struct {

	// +kubebuilder:validation:Optional
	Backup *bool `json:"backup,omitempty" tf:"backup,omitempty"`

	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// +kubebuilder:validation:Optional
	Source *string `json:"source" tf:"source,omitempty"`
}

func (*OriginParameters) DeepCopy

func (in *OriginParameters) DeepCopy() *OriginParameters

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

func (*OriginParameters) DeepCopyInto

func (in *OriginParameters) DeepCopyInto(out *OriginParameters)

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

type Resource

type Resource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceSpec   `json:"spec"`
	Status            ResourceStatus `json:"status,omitempty"`
}

Resource is the Schema for the Resources API. Allows management of a Yandex.Cloud CDN Resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,yandex-cloud}

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

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

func (*Resource) DeepCopyObject

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

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

func (*Resource) GetCondition

func (mg *Resource) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Resource.

func (*Resource) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Resource

func (*Resource) GetDeletionPolicy

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

GetDeletionPolicy of this Resource.

func (*Resource) GetID

func (tr *Resource) GetID() string

GetID returns ID of underlying Terraform resource of this Resource

func (*Resource) GetInitParameters

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

GetInitParameters of this Resource

func (*Resource) GetManagementPolicies

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

GetManagementPolicies of this Resource.

func (*Resource) GetMergedParameters

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

GetInitParameters of this Resource

func (*Resource) GetObservation

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

GetObservation of this Resource

func (*Resource) GetParameters

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

GetParameters of this Resource

func (*Resource) GetProviderConfigReference

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

GetProviderConfigReference of this Resource.

func (*Resource) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Resource.

func (*Resource) GetTerraformResourceType

func (mg *Resource) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Resource

func (*Resource) GetTerraformSchemaVersion

func (tr *Resource) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Resource) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Resource.

func (*Resource) Hub

func (tr *Resource) Hub()

Hub marks this type as a conversion hub.

func (*Resource) LateInitialize

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

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

func (*Resource) ResolveReferences

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

ResolveReferences of this Resource.

func (*Resource) SetConditions

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

SetConditions of this Resource.

func (*Resource) SetDeletionPolicy

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

SetDeletionPolicy of this Resource.

func (*Resource) SetManagementPolicies

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

SetManagementPolicies of this Resource.

func (*Resource) SetObservation

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

SetObservation for this Resource

func (*Resource) SetParameters

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

SetParameters for this Resource

func (*Resource) SetProviderConfigReference

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

SetProviderConfigReference of this Resource.

func (*Resource) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Resource.

func (*Resource) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Resource.

type ResourceInitParameters

type ResourceInitParameters struct {

	// Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.
	Active *bool `json:"active,omitempty" tf:"active,omitempty"`

	// CDN endpoint CNAME, must be unique among resources.
	Cname *string `json:"cname,omitempty" tf:"cname,omitempty"`

	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// CDN Resource settings and options to tune CDN edge behavior.
	Options []OptionsInitParameters `json:"options,omitempty" tf:"options,omitempty"`

	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/cdn/v1alpha1.OriginGroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	OriginGroupID *float64 `json:"originGroupId,omitempty" tf:"origin_group_id,omitempty"`

	// Reference to a OriginGroup in cdn to populate originGroupId.
	// +kubebuilder:validation:Optional
	OriginGroupIDRef *v1.Reference `json:"originGroupIdRef,omitempty" tf:"-"`

	// Selector for a OriginGroup in cdn to populate originGroupId.
	// +kubebuilder:validation:Optional
	OriginGroupIDSelector *v1.Selector `json:"originGroupIdSelector,omitempty" tf:"-"`

	OriginGroupName *string `json:"originGroupName,omitempty" tf:"origin_group_name,omitempty"`

	OriginProtocol *string `json:"originProtocol,omitempty" tf:"origin_protocol,omitempty"`

	// SSL certificate of CDN resource.
	SSLCertificate []SSLCertificateInitParameters `json:"sslCertificate,omitempty" tf:"ssl_certificate,omitempty"`

	// list of secondary hostname strings.
	// +listType=set
	SecondaryHostnames []*string `json:"secondaryHostnames,omitempty" tf:"secondary_hostnames,omitempty"`

	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*ResourceInitParameters) DeepCopy

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

func (*ResourceInitParameters) DeepCopyInto

func (in *ResourceInitParameters) DeepCopyInto(out *ResourceInitParameters)

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

type ResourceList

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

ResourceList contains a list of Resources

func (*ResourceList) DeepCopy

func (in *ResourceList) DeepCopy() *ResourceList

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

func (*ResourceList) DeepCopyInto

func (in *ResourceList) DeepCopyInto(out *ResourceList)

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

func (*ResourceList) DeepCopyObject

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

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

func (*ResourceList) GetItems

func (l *ResourceList) GetItems() []resource.Managed

GetItems of this ResourceList.

type ResourceObservation

type ResourceObservation struct {

	// Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.
	Active *bool `json:"active,omitempty" tf:"active,omitempty"`

	// CDN endpoint CNAME, must be unique among resources.
	Cname *string `json:"cname,omitempty" tf:"cname,omitempty"`

	// Creation timestamp of the IoT Core Device
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// CDN Resource settings and options to tune CDN edge behavior.
	Options []OptionsObservation `json:"options,omitempty" tf:"options,omitempty"`

	OriginGroupID *float64 `json:"originGroupId,omitempty" tf:"origin_group_id,omitempty"`

	OriginGroupName *string `json:"originGroupName,omitempty" tf:"origin_group_name,omitempty"`

	OriginProtocol *string `json:"originProtocol,omitempty" tf:"origin_protocol,omitempty"`

	// provider CNAME of CDN resource, computed value for read and update operations.
	ProviderCname *string `json:"providerCname,omitempty" tf:"provider_cname,omitempty"`

	// SSL certificate of CDN resource.
	SSLCertificate []SSLCertificateObservation `json:"sslCertificate,omitempty" tf:"ssl_certificate,omitempty"`

	// list of secondary hostname strings.
	// +listType=set
	SecondaryHostnames []*string `json:"secondaryHostnames,omitempty" tf:"secondary_hostnames,omitempty"`

	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*ResourceObservation) DeepCopy

func (in *ResourceObservation) DeepCopy() *ResourceObservation

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

func (*ResourceObservation) DeepCopyInto

func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation)

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

type ResourceParameters

type ResourceParameters struct {

	// Flag to create Resource either in active or disabled state. True - the content from CDN is available to clients.
	// +kubebuilder:validation:Optional
	Active *bool `json:"active,omitempty" tf:"active,omitempty"`

	// CDN endpoint CNAME, must be unique among resources.
	// +kubebuilder:validation:Optional
	Cname *string `json:"cname,omitempty" tf:"cname,omitempty"`

	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// CDN Resource settings and options to tune CDN edge behavior.
	// +kubebuilder:validation:Optional
	Options []OptionsParameters `json:"options,omitempty" tf:"options,omitempty"`

	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/cdn/v1alpha1.OriginGroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	OriginGroupID *float64 `json:"originGroupId,omitempty" tf:"origin_group_id,omitempty"`

	// Reference to a OriginGroup in cdn to populate originGroupId.
	// +kubebuilder:validation:Optional
	OriginGroupIDRef *v1.Reference `json:"originGroupIdRef,omitempty" tf:"-"`

	// Selector for a OriginGroup in cdn to populate originGroupId.
	// +kubebuilder:validation:Optional
	OriginGroupIDSelector *v1.Selector `json:"originGroupIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	OriginGroupName *string `json:"originGroupName,omitempty" tf:"origin_group_name,omitempty"`

	// +kubebuilder:validation:Optional
	OriginProtocol *string `json:"originProtocol,omitempty" tf:"origin_protocol,omitempty"`

	// SSL certificate of CDN resource.
	// +kubebuilder:validation:Optional
	SSLCertificate []SSLCertificateParameters `json:"sslCertificate,omitempty" tf:"ssl_certificate,omitempty"`

	// list of secondary hostname strings.
	// +kubebuilder:validation:Optional
	// +listType=set
	SecondaryHostnames []*string `json:"secondaryHostnames,omitempty" tf:"secondary_hostnames,omitempty"`

	// +kubebuilder:validation:Optional
	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*ResourceParameters) DeepCopy

func (in *ResourceParameters) DeepCopy() *ResourceParameters

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

func (*ResourceParameters) DeepCopyInto

func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters)

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

type ResourceSpec

type ResourceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceParameters `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 ResourceInitParameters `json:"initProvider,omitempty"`
}

ResourceSpec defines the desired state of Resource

func (*ResourceSpec) DeepCopy

func (in *ResourceSpec) DeepCopy() *ResourceSpec

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

func (*ResourceSpec) DeepCopyInto

func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec)

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

type ResourceStatus

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

ResourceStatus defines the observed state of Resource.

func (*ResourceStatus) DeepCopy

func (in *ResourceStatus) DeepCopy() *ResourceStatus

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

func (*ResourceStatus) DeepCopyInto

func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)

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

type SSLCertificateInitParameters

type SSLCertificateInitParameters struct {
	CertificateManagerID *string `json:"certificateManagerId,omitempty" tf:"certificate_manager_id,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SSLCertificateInitParameters) DeepCopy

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

func (*SSLCertificateInitParameters) DeepCopyInto

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

type SSLCertificateObservation

type SSLCertificateObservation struct {
	CertificateManagerID *string `json:"certificateManagerId,omitempty" tf:"certificate_manager_id,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SSLCertificateObservation) DeepCopy

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

func (*SSLCertificateObservation) DeepCopyInto

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

type SSLCertificateParameters

type SSLCertificateParameters struct {

	// +kubebuilder:validation:Optional
	CertificateManagerID *string `json:"certificateManagerId,omitempty" tf:"certificate_manager_id,omitempty"`

	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*SSLCertificateParameters) DeepCopy

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

func (*SSLCertificateParameters) DeepCopyInto

func (in *SSLCertificateParameters) DeepCopyInto(out *SSLCertificateParameters)

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