Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=servicequotas.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type MetricDimensionsInitParameters
- type MetricDimensionsObservation
- type MetricDimensionsParameters
- 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 (tr *ServiceQuota) GetInitParameters() (map[string]any, error)
- func (mg *ServiceQuota) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ServiceQuota) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- 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) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceQuota) GetTerraformResourceType() string
- func (tr *ServiceQuota) GetTerraformSchemaVersion() int
- func (mg *ServiceQuota) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServiceQuota) Hub()
- 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) SetManagementPolicies(r xpv1.ManagementPolicies)
- 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) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceQuota) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceQuotaInitParameters
- type ServiceQuotaList
- type ServiceQuotaObservation
- type ServiceQuotaParameters
- type ServiceQuotaSpec
- type ServiceQuotaStatus
- type UsageMetricInitParameters
- type UsageMetricObservation
- type UsageMetricParameters
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 MetricDimensionsInitParameters ¶ added in v0.38.0
type MetricDimensionsInitParameters struct { }
func (*MetricDimensionsInitParameters) DeepCopy ¶ added in v0.38.0
func (in *MetricDimensionsInitParameters) DeepCopy() *MetricDimensionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionsInitParameters.
func (*MetricDimensionsInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *MetricDimensionsInitParameters) DeepCopyInto(out *MetricDimensionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricDimensionsObservation ¶ added in v0.35.0
type MetricDimensionsObservation struct { Class *string `json:"class,omitempty" tf:"class,omitempty"` Resource *string `json:"resource,omitempty" tf:"resource,omitempty"` Service *string `json:"service,omitempty" tf:"service,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*MetricDimensionsObservation) DeepCopy ¶ added in v0.35.0
func (in *MetricDimensionsObservation) DeepCopy() *MetricDimensionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionsObservation.
func (*MetricDimensionsObservation) DeepCopyInto ¶ added in v0.35.0
func (in *MetricDimensionsObservation) DeepCopyInto(out *MetricDimensionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricDimensionsParameters ¶ added in v0.35.0
type MetricDimensionsParameters struct { }
func (*MetricDimensionsParameters) DeepCopy ¶ added in v0.35.0
func (in *MetricDimensionsParameters) DeepCopy() *MetricDimensionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionsParameters.
func (*MetricDimensionsParameters) DeepCopyInto ¶ added in v0.35.0
func (in *MetricDimensionsParameters) DeepCopyInto(out *MetricDimensionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceQuota ¶
type ServiceQuota 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.quotaCode) || (has(self.initProvider) && has(self.initProvider.quotaCode))",message="spec.forProvider.quotaCode is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceCode) || (has(self.initProvider) && has(self.initProvider.serviceCode))",message="spec.forProvider.serviceCode is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.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: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) GetInitParameters ¶ added in v0.38.0
func (tr *ServiceQuota) GetInitParameters() (map[string]any, error)
GetInitParameters of this ServiceQuota
func (*ServiceQuota) GetManagementPolicies ¶ added in v0.38.0
func (mg *ServiceQuota) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ServiceQuota.
func (*ServiceQuota) GetMergedParameters ¶ added in v0.44.0
func (tr *ServiceQuota) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.47.2
func (tr *ServiceQuota) Hub()
Hub marks this type as a conversion hub.
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) SetManagementPolicies ¶ added in v0.38.0
func (mg *ServiceQuota) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 ServiceQuotaInitParameters ¶ added in v0.38.0
type ServiceQuotaInitParameters 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. QuotaCode *string `json:"quotaCode,omitempty" tf:"quota_code,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"` // 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 (*ServiceQuotaInitParameters) DeepCopy ¶ added in v0.38.0
func (in *ServiceQuotaInitParameters) DeepCopy() *ServiceQuotaInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceQuotaInitParameters.
func (*ServiceQuotaInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *ServiceQuotaInitParameters) DeepCopyInto(out *ServiceQuotaInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // Information about the measurement. UsageMetric []UsageMetricObservation `json:"usageMetric,omitempty" tf:"usage_metric,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"` // 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 ServiceQuotaInitParameters `json:"initProvider,omitempty"` }
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.
type UsageMetricInitParameters ¶ added in v0.38.0
type UsageMetricInitParameters struct { }
func (*UsageMetricInitParameters) DeepCopy ¶ added in v0.38.0
func (in *UsageMetricInitParameters) DeepCopy() *UsageMetricInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsageMetricInitParameters.
func (*UsageMetricInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *UsageMetricInitParameters) DeepCopyInto(out *UsageMetricInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UsageMetricObservation ¶ added in v0.35.0
type UsageMetricObservation struct { // The metric dimensions. MetricDimensions []MetricDimensionsObservation `json:"metricDimensions,omitempty" tf:"metric_dimensions,omitempty"` // The name of the metric. MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"` // The namespace of the metric. MetricNamespace *string `json:"metricNamespace,omitempty" tf:"metric_namespace,omitempty"` // The metric statistic that AWS recommend you use when determining quota usage. MetricStatisticRecommendation *string `json:"metricStatisticRecommendation,omitempty" tf:"metric_statistic_recommendation,omitempty"` }
func (*UsageMetricObservation) DeepCopy ¶ added in v0.35.0
func (in *UsageMetricObservation) DeepCopy() *UsageMetricObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsageMetricObservation.
func (*UsageMetricObservation) DeepCopyInto ¶ added in v0.35.0
func (in *UsageMetricObservation) DeepCopyInto(out *UsageMetricObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UsageMetricParameters ¶ added in v0.35.0
type UsageMetricParameters struct { }
func (*UsageMetricParameters) DeepCopy ¶ added in v0.35.0
func (in *UsageMetricParameters) DeepCopy() *UsageMetricParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsageMetricParameters.
func (*UsageMetricParameters) DeepCopyInto ¶ added in v0.35.0
func (in *UsageMetricParameters) DeepCopyInto(out *UsageMetricParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.