v1beta1

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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 (
	Service_Kind             = "Service"
	Service_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Service_Kind}.String()
	Service_KindAPIVersion   = Service_Kind + "." + CRDGroupVersion.String()
	Service_GroupVersionKind = CRDGroupVersion.WithKind(Service_Kind)
)

Repository type metadata.

View Source
var (
	SharedPrivateLinkService_Kind             = "SharedPrivateLinkService"
	SharedPrivateLinkService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SharedPrivateLinkService_Kind}.String()
	SharedPrivateLinkService_KindAPIVersion   = SharedPrivateLinkService_Kind + "." + CRDGroupVersion.String()
	SharedPrivateLinkService_GroupVersionKind = CRDGroupVersion.WithKind(SharedPrivateLinkService_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdentityInitParameters added in v0.35.0

type IdentityInitParameters struct {

	// Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy added in v0.35.0

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

func (*IdentityInitParameters) DeepCopyInto added in v0.35.0

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

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

type IdentityObservation

type IdentityObservation struct {

	// The Principal ID associated with this Managed Service Identity.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID associated with this Managed Service Identity.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

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

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

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

type IdentityParameters

type IdentityParameters struct {

	// Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is SystemAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

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

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

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

type QueryKeysInitParameters added in v0.35.0

type QueryKeysInitParameters struct {
}

func (*QueryKeysInitParameters) DeepCopy added in v0.35.0

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

func (*QueryKeysInitParameters) DeepCopyInto added in v0.35.0

func (in *QueryKeysInitParameters) DeepCopyInto(out *QueryKeysInitParameters)

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

type QueryKeysObservation

type QueryKeysObservation struct {

	// The value of this Query Key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// The name of this Query Key.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*QueryKeysObservation) DeepCopy

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

func (*QueryKeysObservation) DeepCopyInto

func (in *QueryKeysObservation) DeepCopyInto(out *QueryKeysObservation)

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

type QueryKeysParameters

type QueryKeysParameters struct {
}

func (*QueryKeysParameters) DeepCopy

func (in *QueryKeysParameters) DeepCopy() *QueryKeysParameters

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

func (*QueryKeysParameters) DeepCopyInto

func (in *QueryKeysParameters) DeepCopyInto(out *QueryKeysParameters)

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

type Service

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

Service is the Schema for the Services API. Manages a Search Service. +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,azure}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (*Service) DeepCopyObject

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

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

func (*Service) GetCondition

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

GetCondition of this Service.

func (*Service) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Service

func (*Service) GetDeletionPolicy

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

GetDeletionPolicy of this Service.

func (*Service) GetID

func (tr *Service) GetID() string

GetID returns ID of underlying Terraform resource of this Service

func (*Service) GetInitParameters added in v0.35.0

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

GetInitParameters of this Service

func (*Service) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Service.

func (*Service) GetMergedParameters added in v0.40.0

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

GetInitParameters of this Service

func (*Service) GetObservation

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

GetObservation of this Service

func (*Service) GetParameters

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

GetParameters of this Service

func (*Service) GetProviderConfigReference

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

GetProviderConfigReference of this Service.

func (*Service) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Service.

func (*Service) GetTerraformResourceType

func (mg *Service) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Service

func (*Service) GetTerraformSchemaVersion

func (tr *Service) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Service) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Service.

func (*Service) Hub added in v0.42.1

func (tr *Service) Hub()

Hub marks this type as a conversion hub.

func (*Service) LateInitialize

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

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

func (*Service) ResolveReferences

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

func (*Service) SetConditions

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

SetConditions of this Service.

func (*Service) SetDeletionPolicy

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

SetDeletionPolicy of this Service.

func (*Service) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Service.

func (*Service) SetObservation

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

SetObservation for this Service

func (*Service) SetParameters

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

SetParameters for this Service

func (*Service) SetProviderConfigReference

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

SetProviderConfigReference of this Service.

func (*Service) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Service.

func (*Service) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Service.

type ServiceInitParameters added in v0.35.0

type ServiceInitParameters struct {

	// Specifies a list of inbound IPv4 or CIDRs that are allowed to access the Search Service. If the incoming IP request is from an IP address which is not included in the allowed_ips it will be blocked by the Search Services firewall.
	// +listType=set
	AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"`

	// Specifies the response that the Search Service should return for requests that fail authentication. Possible values include http401WithBearerChallenge or http403.
	AuthenticationFailureMode *string `json:"authenticationFailureMode,omitempty" tf:"authentication_failure_mode,omitempty"`

	// Specifies whether the Search Service should enforce that non-customer resources are encrypted. Defaults to false.
	CustomerManagedKeyEnforcementEnabled *bool `json:"customerManagedKeyEnforcementEnabled,omitempty" tf:"customer_managed_key_enforcement_enabled,omitempty"`

	// Specifies the Hosting Mode, which allows for High Density partitions (that allow for up to 1000 indexes) should be supported. Possible values are highDensity or default. Defaults to default. Changing this forces a new Search Service to be created.
	HostingMode *string `json:"hostingMode,omitempty" tf:"hosting_mode,omitempty"`

	// An identity block as defined below.
	Identity []IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// Specifies whether the Search Service allows authenticating using API Keys? Defaults to true.
	LocalAuthenticationEnabled *bool `json:"localAuthenticationEnabled,omitempty" tf:"local_authentication_enabled,omitempty"`

	// The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the number of partitions which should be created. This field cannot be set when using a free or basic sku (see the Microsoft documentation). Possible values include 1, 2, 3, 4, 6, or 12. Defaults to 1.
	PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`

	// Specifies whether Public Network Access is allowed for this resource. Defaults to true.
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// Specifies the number of Replica's which should be created for this Search Service. This field cannot be set when using a free sku (see the Microsoft documentation).
	ReplicaCount *float64 `json:"replicaCount,omitempty" tf:"replica_count,omitempty"`

	// Specifies the Semantic Search SKU which should be used for this Search Service. Possible values include free and standard.
	SemanticSearchSku *string `json:"semanticSearchSku,omitempty" tf:"semantic_search_sku,omitempty"`

	// The SKU which should be used for this Search Service. Possible values include basic, free, standard, standard2, standard3, storage_optimized_l1 and storage_optimized_l2. Changing this forces a new Search Service to be created.
	Sku *string `json:"sku,omitempty" tf:"sku,omitempty"`

	// Specifies a mapping of tags which should be assigned to this Search Service.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ServiceInitParameters) DeepCopy added in v0.35.0

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

func (*ServiceInitParameters) DeepCopyInto added in v0.35.0

func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters)

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

type ServiceList

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

ServiceList contains a list of Services

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

func (*ServiceList) GetItems

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

GetItems of this ServiceList.

type ServiceObservation

type ServiceObservation struct {

	// Specifies a list of inbound IPv4 or CIDRs that are allowed to access the Search Service. If the incoming IP request is from an IP address which is not included in the allowed_ips it will be blocked by the Search Services firewall.
	// +listType=set
	AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"`

	// Specifies the response that the Search Service should return for requests that fail authentication. Possible values include http401WithBearerChallenge or http403.
	AuthenticationFailureMode *string `json:"authenticationFailureMode,omitempty" tf:"authentication_failure_mode,omitempty"`

	// Specifies whether the Search Service should enforce that non-customer resources are encrypted. Defaults to false.
	CustomerManagedKeyEnforcementEnabled *bool `json:"customerManagedKeyEnforcementEnabled,omitempty" tf:"customer_managed_key_enforcement_enabled,omitempty"`

	// Specifies the Hosting Mode, which allows for High Density partitions (that allow for up to 1000 indexes) should be supported. Possible values are highDensity or default. Defaults to default. Changing this forces a new Search Service to be created.
	HostingMode *string `json:"hostingMode,omitempty" tf:"hosting_mode,omitempty"`

	// The ID of the Search Service.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// Specifies whether the Search Service allows authenticating using API Keys? Defaults to true.
	LocalAuthenticationEnabled *bool `json:"localAuthenticationEnabled,omitempty" tf:"local_authentication_enabled,omitempty"`

	// The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the number of partitions which should be created. This field cannot be set when using a free or basic sku (see the Microsoft documentation). Possible values include 1, 2, 3, 4, 6, or 12. Defaults to 1.
	PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`

	// Specifies whether Public Network Access is allowed for this resource. Defaults to true.
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// A query_keys block as defined below.
	QueryKeys []QueryKeysObservation `json:"queryKeys,omitempty" tf:"query_keys,omitempty"`

	// Specifies the number of Replica's which should be created for this Search Service. This field cannot be set when using a free sku (see the Microsoft documentation).
	ReplicaCount *float64 `json:"replicaCount,omitempty" tf:"replica_count,omitempty"`

	// The name of the Resource Group where the Search Service should exist. Changing this forces a new Search Service to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the Semantic Search SKU which should be used for this Search Service. Possible values include free and standard.
	SemanticSearchSku *string `json:"semanticSearchSku,omitempty" tf:"semantic_search_sku,omitempty"`

	// The SKU which should be used for this Search Service. Possible values include basic, free, standard, standard2, standard3, storage_optimized_l1 and storage_optimized_l2. Changing this forces a new Search Service to be created.
	Sku *string `json:"sku,omitempty" tf:"sku,omitempty"`

	// Specifies a mapping of tags which should be assigned to this Search Service.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ServiceObservation) DeepCopy

func (in *ServiceObservation) DeepCopy() *ServiceObservation

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

func (*ServiceObservation) DeepCopyInto

func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation)

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

type ServiceParameters

type ServiceParameters struct {

	// Specifies a list of inbound IPv4 or CIDRs that are allowed to access the Search Service. If the incoming IP request is from an IP address which is not included in the allowed_ips it will be blocked by the Search Services firewall.
	// +kubebuilder:validation:Optional
	// +listType=set
	AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"`

	// Specifies the response that the Search Service should return for requests that fail authentication. Possible values include http401WithBearerChallenge or http403.
	// +kubebuilder:validation:Optional
	AuthenticationFailureMode *string `json:"authenticationFailureMode,omitempty" tf:"authentication_failure_mode,omitempty"`

	// Specifies whether the Search Service should enforce that non-customer resources are encrypted. Defaults to false.
	// +kubebuilder:validation:Optional
	CustomerManagedKeyEnforcementEnabled *bool `json:"customerManagedKeyEnforcementEnabled,omitempty" tf:"customer_managed_key_enforcement_enabled,omitempty"`

	// Specifies the Hosting Mode, which allows for High Density partitions (that allow for up to 1000 indexes) should be supported. Possible values are highDensity or default. Defaults to default. Changing this forces a new Search Service to be created.
	// +kubebuilder:validation:Optional
	HostingMode *string `json:"hostingMode,omitempty" tf:"hosting_mode,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// Specifies whether the Search Service allows authenticating using API Keys? Defaults to true.
	// +kubebuilder:validation:Optional
	LocalAuthenticationEnabled *bool `json:"localAuthenticationEnabled,omitempty" tf:"local_authentication_enabled,omitempty"`

	// The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the number of partitions which should be created. This field cannot be set when using a free or basic sku (see the Microsoft documentation). Possible values include 1, 2, 3, 4, 6, or 12. Defaults to 1.
	// +kubebuilder:validation:Optional
	PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`

	// Specifies whether Public Network Access is allowed for this resource. Defaults to true.
	// +kubebuilder:validation:Optional
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// Specifies the number of Replica's which should be created for this Search Service. This field cannot be set when using a free sku (see the Microsoft documentation).
	// +kubebuilder:validation:Optional
	ReplicaCount *float64 `json:"replicaCount,omitempty" tf:"replica_count,omitempty"`

	// The name of the Resource Group where the Search Service should exist. Changing this forces a new Search Service 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:"-"`

	// Specifies the Semantic Search SKU which should be used for this Search Service. Possible values include free and standard.
	// +kubebuilder:validation:Optional
	SemanticSearchSku *string `json:"semanticSearchSku,omitempty" tf:"semantic_search_sku,omitempty"`

	// The SKU which should be used for this Search Service. Possible values include basic, free, standard, standard2, standard3, storage_optimized_l1 and storage_optimized_l2. Changing this forces a new Search Service to be created.
	// +kubebuilder:validation:Optional
	Sku *string `json:"sku,omitempty" tf:"sku,omitempty"`

	// Specifies a mapping of tags which should be assigned to this Search Service.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ServiceParameters) DeepCopy

func (in *ServiceParameters) DeepCopy() *ServiceParameters

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

func (*ServiceParameters) DeepCopyInto

func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters)

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

type ServiceSpec

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

ServiceSpec defines the desired state of Service

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type ServiceStatus

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

ServiceStatus defines the observed state of Service.

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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

type SharedPrivateLinkService added in v0.28.0

type SharedPrivateLinkService 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.subresourceName) || (has(self.initProvider) && has(self.initProvider.subresourceName))",message="spec.forProvider.subresourceName is a required parameter"
	Spec   SharedPrivateLinkServiceSpec   `json:"spec"`
	Status SharedPrivateLinkServiceStatus `json:"status,omitempty"`
}

SharedPrivateLinkService is the Schema for the SharedPrivateLinkServices API. Manages the Shared Private Link Service for an Azure Search Service. +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,azure}

func (*SharedPrivateLinkService) DeepCopy added in v0.28.0

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

func (*SharedPrivateLinkService) DeepCopyInto added in v0.28.0

func (in *SharedPrivateLinkService) DeepCopyInto(out *SharedPrivateLinkService)

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

func (*SharedPrivateLinkService) DeepCopyObject added in v0.28.0

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

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

func (*SharedPrivateLinkService) GetCondition added in v0.28.0

GetCondition of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) GetConnectionDetailsMapping added in v0.28.0

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

GetConnectionDetailsMapping for this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetDeletionPolicy added in v0.28.0

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

GetDeletionPolicy of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) GetID added in v0.28.0

func (tr *SharedPrivateLinkService) GetID() string

GetID returns ID of underlying Terraform resource of this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetInitParameters added in v0.35.0

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

GetInitParameters of this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) GetMergedParameters added in v0.40.0

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

GetInitParameters of this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetObservation added in v0.28.0

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

GetObservation of this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetParameters added in v0.28.0

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

GetParameters of this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetProviderConfigReference added in v0.28.0

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

GetProviderConfigReference of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) GetPublishConnectionDetailsTo added in v0.28.0

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

GetPublishConnectionDetailsTo of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) GetTerraformResourceType added in v0.28.0

func (mg *SharedPrivateLinkService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SharedPrivateLinkService

func (*SharedPrivateLinkService) GetTerraformSchemaVersion added in v0.28.0

func (tr *SharedPrivateLinkService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SharedPrivateLinkService) GetWriteConnectionSecretToReference added in v0.28.0

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

GetWriteConnectionSecretToReference of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) Hub added in v0.42.1

func (tr *SharedPrivateLinkService) Hub()

Hub marks this type as a conversion hub.

func (*SharedPrivateLinkService) LateInitialize added in v0.28.0

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

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

func (*SharedPrivateLinkService) ResolveReferences added in v0.28.0

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

ResolveReferences of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) SetConditions added in v0.28.0

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

SetConditions of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) SetDeletionPolicy added in v0.28.0

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

SetDeletionPolicy of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) SetObservation added in v0.28.0

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

SetObservation for this SharedPrivateLinkService

func (*SharedPrivateLinkService) SetParameters added in v0.28.0

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

SetParameters for this SharedPrivateLinkService

func (*SharedPrivateLinkService) SetProviderConfigReference added in v0.28.0

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

SetProviderConfigReference of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) SetPublishConnectionDetailsTo added in v0.28.0

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

SetPublishConnectionDetailsTo of this SharedPrivateLinkService.

func (*SharedPrivateLinkService) SetWriteConnectionSecretToReference added in v0.28.0

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

SetWriteConnectionSecretToReference of this SharedPrivateLinkService.

type SharedPrivateLinkServiceInitParameters added in v0.35.0

type SharedPrivateLinkServiceInitParameters struct {

	// Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
	RequestMessage *string `json:"requestMessage,omitempty" tf:"request_message,omitempty"`

	// Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName *string `json:"subresourceName,omitempty" tf:"subresource_name,omitempty"`

	// Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"`

	// Reference to a Account in storage to populate targetResourceId.
	// +kubebuilder:validation:Optional
	TargetResourceIDRef *v1.Reference `json:"targetResourceIdRef,omitempty" tf:"-"`

	// Selector for a Account in storage to populate targetResourceId.
	// +kubebuilder:validation:Optional
	TargetResourceIDSelector *v1.Selector `json:"targetResourceIdSelector,omitempty" tf:"-"`
}

func (*SharedPrivateLinkServiceInitParameters) DeepCopy added in v0.35.0

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

func (*SharedPrivateLinkServiceInitParameters) DeepCopyInto added in v0.35.0

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

type SharedPrivateLinkServiceList added in v0.28.0

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

SharedPrivateLinkServiceList contains a list of SharedPrivateLinkServices

func (*SharedPrivateLinkServiceList) DeepCopy added in v0.28.0

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

func (*SharedPrivateLinkServiceList) DeepCopyInto added in v0.28.0

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

func (*SharedPrivateLinkServiceList) DeepCopyObject added in v0.28.0

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

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

func (*SharedPrivateLinkServiceList) GetItems added in v0.28.0

GetItems of this SharedPrivateLinkServiceList.

type SharedPrivateLinkServiceObservation added in v0.28.0

type SharedPrivateLinkServiceObservation struct {

	// The ID of the Azure Search Shared Private Link resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
	RequestMessage *string `json:"requestMessage,omitempty" tf:"request_message,omitempty"`

	// Specify the id of the Azure Search Service. Changing this forces a new resource to be created.
	SearchServiceID *string `json:"searchServiceId,omitempty" tf:"search_service_id,omitempty"`

	// The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName *string `json:"subresourceName,omitempty" tf:"subresource_name,omitempty"`

	// Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"`
}

func (*SharedPrivateLinkServiceObservation) DeepCopy added in v0.28.0

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

func (*SharedPrivateLinkServiceObservation) DeepCopyInto added in v0.28.0

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

type SharedPrivateLinkServiceParameters added in v0.28.0

type SharedPrivateLinkServiceParameters struct {

	// Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
	// +kubebuilder:validation:Optional
	RequestMessage *string `json:"requestMessage,omitempty" tf:"request_message,omitempty"`

	// Specify the id of the Azure Search Service. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/search/v1beta1.Service
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SearchServiceID *string `json:"searchServiceId,omitempty" tf:"search_service_id,omitempty"`

	// Reference to a Service in search to populate searchServiceId.
	// +kubebuilder:validation:Optional
	SearchServiceIDRef *v1.Reference `json:"searchServiceIdRef,omitempty" tf:"-"`

	// Selector for a Service in search to populate searchServiceId.
	// +kubebuilder:validation:Optional
	SearchServiceIDSelector *v1.Selector `json:"searchServiceIdSelector,omitempty" tf:"-"`

	// Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SubresourceName *string `json:"subresourceName,omitempty" tf:"subresource_name,omitempty"`

	// Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"`

	// Reference to a Account in storage to populate targetResourceId.
	// +kubebuilder:validation:Optional
	TargetResourceIDRef *v1.Reference `json:"targetResourceIdRef,omitempty" tf:"-"`

	// Selector for a Account in storage to populate targetResourceId.
	// +kubebuilder:validation:Optional
	TargetResourceIDSelector *v1.Selector `json:"targetResourceIdSelector,omitempty" tf:"-"`
}

func (*SharedPrivateLinkServiceParameters) DeepCopy added in v0.28.0

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

func (*SharedPrivateLinkServiceParameters) DeepCopyInto added in v0.28.0

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

type SharedPrivateLinkServiceSpec added in v0.28.0

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

SharedPrivateLinkServiceSpec defines the desired state of SharedPrivateLinkService

func (*SharedPrivateLinkServiceSpec) DeepCopy added in v0.28.0

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

func (*SharedPrivateLinkServiceSpec) DeepCopyInto added in v0.28.0

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

type SharedPrivateLinkServiceStatus added in v0.28.0

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

SharedPrivateLinkServiceStatus defines the observed state of SharedPrivateLinkService.

func (*SharedPrivateLinkServiceStatus) DeepCopy added in v0.28.0

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

func (*SharedPrivateLinkServiceStatus) DeepCopyInto added in v0.28.0

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