Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=servicequotas.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ServiceQuota
- func (in *ServiceQuota) DeepCopy() *ServiceQuota
- func (in *ServiceQuota) DeepCopyInto(out *ServiceQuota)
- func (in *ServiceQuota) DeepCopyObject() runtime.Object
- func (mg *ServiceQuota) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServiceQuota) GetConnectionDetailsMapping() map[string]string
- func (mg *ServiceQuota) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServiceQuota) GetID() string
- func (mg *ServiceQuota) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *ServiceQuota) GetObservation() (map[string]any, error)
- func (tr *ServiceQuota) GetParameters() (map[string]any, error)
- func (mg *ServiceQuota) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceQuota) GetProviderReference() *xpv1.Reference
- func (mg *ServiceQuota) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceQuota) GetTerraformResourceType() string
- func (tr *ServiceQuota) GetTerraformSchemaVersion() int
- func (mg *ServiceQuota) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServiceQuota) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServiceQuota) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceQuota) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceQuota) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *ServiceQuota) SetObservation(obs map[string]any) error
- func (tr *ServiceQuota) SetParameters(params map[string]any) error
- func (mg *ServiceQuota) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceQuota) SetProviderReference(r *xpv1.Reference)
- func (mg *ServiceQuota) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceQuota) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceQuotaList
- type ServiceQuotaObservation
- type ServiceQuotaParameters
- type ServiceQuotaSpec
- type ServiceQuotaStatus
Constants ¶
const ( CRDGroup = "servicequotas.aws.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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 )
var ( ServiceQuota_Kind = "ServiceQuota" ServiceQuota_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceQuota_Kind}.String() ServiceQuota_KindAPIVersion = ServiceQuota_Kind + "." + CRDGroupVersion.String() ServiceQuota_GroupVersionKind = CRDGroupVersion.WithKind(ServiceQuota_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ServiceQuota ¶
type ServiceQuota struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.quotaCode)",message="quotaCode is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.serviceCode)",message="serviceCode is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.value)",message="value is a required parameter" Spec ServiceQuotaSpec `json:"spec"` Status ServiceQuotaStatus `json:"status,omitempty"` }
ServiceQuota is the Schema for the ServiceQuotas API. Manages an individual Service Quota +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*ServiceQuota) DeepCopy ¶
func (in *ServiceQuota) DeepCopy() *ServiceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuota.
func (*ServiceQuota) DeepCopyInto ¶
func (in *ServiceQuota) DeepCopyInto(out *ServiceQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceQuota) DeepCopyObject ¶
func (in *ServiceQuota) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceQuota) GetCondition ¶
func (mg *ServiceQuota) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceQuota.
func (*ServiceQuota) GetConnectionDetailsMapping ¶
func (tr *ServiceQuota) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ServiceQuota
func (*ServiceQuota) GetDeletionPolicy ¶
func (mg *ServiceQuota) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceQuota.
func (*ServiceQuota) GetID ¶
func (tr *ServiceQuota) GetID() string
GetID returns ID of underlying Terraform resource of this ServiceQuota
func (*ServiceQuota) GetManagementPolicy ¶
func (mg *ServiceQuota) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this ServiceQuota.
func (*ServiceQuota) GetObservation ¶
func (tr *ServiceQuota) GetObservation() (map[string]any, error)
GetObservation of this ServiceQuota
func (*ServiceQuota) GetParameters ¶
func (tr *ServiceQuota) GetParameters() (map[string]any, error)
GetParameters of this ServiceQuota
func (*ServiceQuota) GetProviderConfigReference ¶
func (mg *ServiceQuota) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceQuota.
func (*ServiceQuota) GetProviderReference ¶
func (mg *ServiceQuota) GetProviderReference() *xpv1.Reference
GetProviderReference of this ServiceQuota. Deprecated: Use GetProviderConfigReference.
func (*ServiceQuota) GetPublishConnectionDetailsTo ¶
func (mg *ServiceQuota) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceQuota.
func (*ServiceQuota) GetTerraformResourceType ¶
func (mg *ServiceQuota) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ServiceQuota
func (*ServiceQuota) GetTerraformSchemaVersion ¶
func (tr *ServiceQuota) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ServiceQuota) GetWriteConnectionSecretToReference ¶
func (mg *ServiceQuota) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceQuota.
func (*ServiceQuota) LateInitialize ¶
func (tr *ServiceQuota) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ServiceQuota using its observed tfState. returns True if there are any spec changes for the resource.
func (*ServiceQuota) SetConditions ¶
func (mg *ServiceQuota) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceQuota.
func (*ServiceQuota) SetDeletionPolicy ¶
func (mg *ServiceQuota) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceQuota.
func (*ServiceQuota) SetManagementPolicy ¶
func (mg *ServiceQuota) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this ServiceQuota.
func (*ServiceQuota) SetObservation ¶
func (tr *ServiceQuota) SetObservation(obs map[string]any) error
SetObservation for this ServiceQuota
func (*ServiceQuota) SetParameters ¶
func (tr *ServiceQuota) SetParameters(params map[string]any) error
SetParameters for this ServiceQuota
func (*ServiceQuota) SetProviderConfigReference ¶
func (mg *ServiceQuota) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceQuota.
func (*ServiceQuota) SetProviderReference ¶
func (mg *ServiceQuota) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ServiceQuota. Deprecated: Use SetProviderConfigReference.
func (*ServiceQuota) SetPublishConnectionDetailsTo ¶
func (mg *ServiceQuota) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceQuota.
func (*ServiceQuota) SetWriteConnectionSecretToReference ¶
func (mg *ServiceQuota) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceQuota.
type ServiceQuotaList ¶
type ServiceQuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceQuota `json:"items"` }
ServiceQuotaList contains a list of ServiceQuotas
func (*ServiceQuotaList) DeepCopy ¶
func (in *ServiceQuotaList) DeepCopy() *ServiceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuotaList.
func (*ServiceQuotaList) DeepCopyInto ¶
func (in *ServiceQuotaList) DeepCopyInto(out *ServiceQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceQuotaList) DeepCopyObject ¶
func (in *ServiceQuotaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceQuotaList) GetItems ¶
func (l *ServiceQuotaList) GetItems() []resource.Managed
GetItems of this ServiceQuotaList.
type ServiceQuotaObservation ¶
type ServiceQuotaObservation struct { // Whether the service quota can be increased. Adjustable *bool `json:"adjustable,omitempty" tf:"adjustable,omitempty"` // Amazon Resource Name (ARN) of the service quota. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Default value of the service quota. DefaultValue *float64 `json:"defaultValue,omitempty" tf:"default_value,omitempty"` // Service code and quota code, separated by a front slash (/) ID *string `json:"id,omitempty" tf:"id,omitempty"` // Code of the service quota to track. For example: L-F678F1CE. Available values can be found with the AWS CLI service-quotas list-service-quotas command. QuotaCode *string `json:"quotaCode,omitempty" tf:"quota_code,omitempty"` // Name of the quota. QuotaName *string `json:"quotaName,omitempty" tf:"quota_name,omitempty"` // Service code and quota code, separated by a front slash (/) RequestID *string `json:"requestId,omitempty" tf:"request_id,omitempty"` RequestStatus *string `json:"requestStatus,omitempty" tf:"request_status,omitempty"` // Code of the service to track. For example: vpc. Available values can be found with the AWS CLI service-quotas list-services command. ServiceCode *string `json:"serviceCode,omitempty" tf:"service_code,omitempty"` // Name of the service. ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` // Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request. Value *float64 `json:"value,omitempty" tf:"value,omitempty"` }
func (*ServiceQuotaObservation) DeepCopy ¶
func (in *ServiceQuotaObservation) DeepCopy() *ServiceQuotaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuotaObservation.
func (*ServiceQuotaObservation) DeepCopyInto ¶
func (in *ServiceQuotaObservation) DeepCopyInto(out *ServiceQuotaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceQuotaParameters ¶
type ServiceQuotaParameters struct { // Code of the service quota to track. For example: L-F678F1CE. Available values can be found with the AWS CLI service-quotas list-service-quotas command. // +kubebuilder:validation:Optional QuotaCode *string `json:"quotaCode,omitempty" tf:"quota_code,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Code of the service to track. For example: vpc. Available values can be found with the AWS CLI service-quotas list-services command. // +kubebuilder:validation:Optional ServiceCode *string `json:"serviceCode,omitempty" tf:"service_code,omitempty"` // Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request. // +kubebuilder:validation:Optional Value *float64 `json:"value,omitempty" tf:"value,omitempty"` }
func (*ServiceQuotaParameters) DeepCopy ¶
func (in *ServiceQuotaParameters) DeepCopy() *ServiceQuotaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuotaParameters.
func (*ServiceQuotaParameters) DeepCopyInto ¶
func (in *ServiceQuotaParameters) DeepCopyInto(out *ServiceQuotaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceQuotaSpec ¶
type ServiceQuotaSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServiceQuotaParameters `json:"forProvider"` }
ServiceQuotaSpec defines the desired state of ServiceQuota
func (*ServiceQuotaSpec) DeepCopy ¶
func (in *ServiceQuotaSpec) DeepCopy() *ServiceQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuotaSpec.
func (*ServiceQuotaSpec) DeepCopyInto ¶
func (in *ServiceQuotaSpec) DeepCopyInto(out *ServiceQuotaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceQuotaStatus ¶
type ServiceQuotaStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServiceQuotaObservation `json:"atProvider,omitempty"` }
ServiceQuotaStatus defines the observed state of ServiceQuota.
func (*ServiceQuotaStatus) DeepCopy ¶
func (in *ServiceQuotaStatus) DeepCopy() *ServiceQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuotaStatus.
func (*ServiceQuotaStatus) DeepCopyInto ¶
func (in *ServiceQuotaStatus) DeepCopyInto(out *ServiceQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.