Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=web.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ServicePlan
- func (in *ServicePlan) DeepCopy() *ServicePlan
- func (in *ServicePlan) DeepCopyInto(out *ServicePlan)
- func (in *ServicePlan) DeepCopyObject() runtime.Object
- func (mg *ServicePlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServicePlan) GetConnectionDetailsMapping() map[string]string
- func (mg *ServicePlan) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServicePlan) GetID() string
- func (tr *ServicePlan) GetObservation() (map[string]any, error)
- func (tr *ServicePlan) GetParameters() (map[string]any, error)
- func (mg *ServicePlan) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServicePlan) GetProviderReference() *xpv1.Reference
- func (mg *ServicePlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServicePlan) GetTerraformResourceType() string
- func (tr *ServicePlan) GetTerraformSchemaVersion() int
- func (mg *ServicePlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServicePlan) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServicePlan) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServicePlan) SetConditions(c ...xpv1.Condition)
- func (mg *ServicePlan) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ServicePlan) SetObservation(obs map[string]any) error
- func (tr *ServicePlan) SetParameters(params map[string]any) error
- func (mg *ServicePlan) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServicePlan) SetProviderReference(r *xpv1.Reference)
- func (mg *ServicePlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServicePlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServicePlanList
- type ServicePlanObservation
- type ServicePlanParameters
- type ServicePlanSpec
- type ServicePlanStatus
Constants ¶
const ( CRDGroup = "web.azure.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 ( ServicePlan_Kind = "ServicePlan" ServicePlan_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServicePlan_Kind}.String() ServicePlan_KindAPIVersion = ServicePlan_Kind + "." + CRDGroupVersion.String() ServicePlan_GroupVersionKind = CRDGroupVersion.WithKind(ServicePlan_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ServicePlan ¶
type ServicePlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServicePlanSpec `json:"spec"` Status ServicePlanStatus `json:"status,omitempty"` }
ServicePlan is the Schema for the ServicePlans API. Manages an App Service: Service Plan. +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,azure}
func (*ServicePlan) DeepCopy ¶
func (in *ServicePlan) DeepCopy() *ServicePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlan.
func (*ServicePlan) DeepCopyInto ¶
func (in *ServicePlan) DeepCopyInto(out *ServicePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServicePlan) DeepCopyObject ¶
func (in *ServicePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServicePlan) GetCondition ¶
func (mg *ServicePlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServicePlan.
func (*ServicePlan) GetConnectionDetailsMapping ¶
func (tr *ServicePlan) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ServicePlan
func (*ServicePlan) GetDeletionPolicy ¶
func (mg *ServicePlan) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServicePlan.
func (*ServicePlan) GetID ¶
func (tr *ServicePlan) GetID() string
GetID returns ID of underlying Terraform resource of this ServicePlan
func (*ServicePlan) GetObservation ¶
func (tr *ServicePlan) GetObservation() (map[string]any, error)
GetObservation of this ServicePlan
func (*ServicePlan) GetParameters ¶
func (tr *ServicePlan) GetParameters() (map[string]any, error)
GetParameters of this ServicePlan
func (*ServicePlan) GetProviderConfigReference ¶
func (mg *ServicePlan) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServicePlan.
func (*ServicePlan) GetProviderReference ¶
func (mg *ServicePlan) GetProviderReference() *xpv1.Reference
GetProviderReference of this ServicePlan. Deprecated: Use GetProviderConfigReference.
func (*ServicePlan) GetPublishConnectionDetailsTo ¶
func (mg *ServicePlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServicePlan.
func (*ServicePlan) GetTerraformResourceType ¶
func (mg *ServicePlan) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ServicePlan
func (*ServicePlan) GetTerraformSchemaVersion ¶
func (tr *ServicePlan) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ServicePlan) GetWriteConnectionSecretToReference ¶
func (mg *ServicePlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServicePlan.
func (*ServicePlan) LateInitialize ¶
func (tr *ServicePlan) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ServicePlan using its observed tfState. returns True if there are any spec changes for the resource.
func (*ServicePlan) ResolveReferences ¶
ResolveReferences of this ServicePlan.
func (*ServicePlan) SetConditions ¶
func (mg *ServicePlan) SetConditions(c ...xpv1.Condition)
SetConditions of this ServicePlan.
func (*ServicePlan) SetDeletionPolicy ¶
func (mg *ServicePlan) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServicePlan.
func (*ServicePlan) SetObservation ¶
func (tr *ServicePlan) SetObservation(obs map[string]any) error
SetObservation for this ServicePlan
func (*ServicePlan) SetParameters ¶
func (tr *ServicePlan) SetParameters(params map[string]any) error
SetParameters for this ServicePlan
func (*ServicePlan) SetProviderConfigReference ¶
func (mg *ServicePlan) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServicePlan.
func (*ServicePlan) SetProviderReference ¶
func (mg *ServicePlan) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ServicePlan. Deprecated: Use SetProviderConfigReference.
func (*ServicePlan) SetPublishConnectionDetailsTo ¶
func (mg *ServicePlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServicePlan.
func (*ServicePlan) SetWriteConnectionSecretToReference ¶
func (mg *ServicePlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServicePlan.
type ServicePlanList ¶
type ServicePlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServicePlan `json:"items"` }
ServicePlanList contains a list of ServicePlans
func (*ServicePlanList) DeepCopy ¶
func (in *ServicePlanList) DeepCopy() *ServicePlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanList.
func (*ServicePlanList) DeepCopyInto ¶
func (in *ServicePlanList) DeepCopyInto(out *ServicePlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServicePlanList) DeepCopyObject ¶
func (in *ServicePlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServicePlanList) GetItems ¶
func (l *ServicePlanList) GetItems() []resource.Managed
GetItems of this ServicePlanList.
type ServicePlanObservation ¶
type ServicePlanObservation struct { // The ID of the Service Plan. ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string representing the Kind of Service Plan. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // Whether this is a reserved Service Plan Type. true if os_type is Linux, otherwise false. Reserved *bool `json:"reserved,omitempty" tf:"reserved,omitempty"` }
func (*ServicePlanObservation) DeepCopy ¶
func (in *ServicePlanObservation) DeepCopy() *ServicePlanObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanObservation.
func (*ServicePlanObservation) DeepCopyInto ¶
func (in *ServicePlanObservation) DeepCopyInto(out *ServicePlanObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicePlanParameters ¶
type ServicePlanParameters struct { // The ID of the App Service Environment to create this Service Plan in. // +kubebuilder:validation:Optional AppServiceEnvironmentID *string `json:"appServiceEnvironmentId,omitempty" tf:"app_service_environment_id,omitempty"` // The Azure Region where the Service Plan should exist. Changing this forces a new AppService to be created. // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // The maximum number of workers to use in an Elastic SKU Plan. Cannot be set unless using an Elastic SKU. // +kubebuilder:validation:Optional MaximumElasticWorkerCount *float64 `json:"maximumElasticWorkerCount,omitempty" tf:"maximum_elastic_worker_count,omitempty"` // The O/S type for the App Services to be hosted in this plan. Possible values include Windows, Linux, and WindowsContainer. Changing this forces a new resource to be created. // +kubebuilder:validation:Required OsType *string `json:"osType" tf:"os_type,omitempty"` // Should Per Site Scaling be enabled. Defaults to false. // +kubebuilder:validation:Optional PerSiteScalingEnabled *bool `json:"perSiteScalingEnabled,omitempty" tf:"per_site_scaling_enabled,omitempty"` // The name of the Resource Group where the AppService should exist. Changing this forces a new AppService 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:"-"` // The SKU for the plan. Possible values include B1, B2, B3, D1, F1, I1, I2, I3, I1v2, I2v2, I3v2, P1v2, P2v2, P3v2, P1v3, P2v3, P3v3, S1, S2, S3, SHARED, EP1, EP2, EP3, WS1, WS2, WS3, and Y1. // +kubebuilder:validation:Required SkuName *string `json:"skuName" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the AppService. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // The number of Workers (instances) to be allocated. // +kubebuilder:validation:Optional WorkerCount *float64 `json:"workerCount,omitempty" tf:"worker_count,omitempty"` // Should the Service Plan balance across Availability Zones in the region. Changing this forces a new resource to be created. // +kubebuilder:validation:Optional ZoneBalancingEnabled *bool `json:"zoneBalancingEnabled,omitempty" tf:"zone_balancing_enabled,omitempty"` }
func (*ServicePlanParameters) DeepCopy ¶
func (in *ServicePlanParameters) DeepCopy() *ServicePlanParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanParameters.
func (*ServicePlanParameters) DeepCopyInto ¶
func (in *ServicePlanParameters) DeepCopyInto(out *ServicePlanParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicePlanSpec ¶
type ServicePlanSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServicePlanParameters `json:"forProvider"` }
ServicePlanSpec defines the desired state of ServicePlan
func (*ServicePlanSpec) DeepCopy ¶
func (in *ServicePlanSpec) DeepCopy() *ServicePlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanSpec.
func (*ServicePlanSpec) DeepCopyInto ¶
func (in *ServicePlanSpec) DeepCopyInto(out *ServicePlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicePlanStatus ¶
type ServicePlanStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServicePlanObservation `json:"atProvider,omitempty"` }
ServicePlanStatus defines the observed state of ServicePlan.
func (*ServicePlanStatus) DeepCopy ¶
func (in *ServicePlanStatus) DeepCopy() *ServicePlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanStatus.
func (*ServicePlanStatus) DeepCopyInto ¶
func (in *ServicePlanStatus) DeepCopyInto(out *ServicePlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.